This website works better with JavaScript.
Home
Explore
Help
Sign In
BenoitCier
/
Opendistrib
forked from
Laclic/Souke
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[backend] Problème cron paiement automatique des commandes quand order_deadline = 24 (minuit)
dev
Guillaume Bourgeois
5 years ago
parent
cef453b8d2
commit
ebc6fc4044
1 changed files
with
1 additions
and
0 deletions
Unified View
Show Diff Stats
+1
-0
backend/controllers/CronController.php
+ 1
- 0
backend/controllers/CronController.php
View File
if ($hour == '00') {
if ($hour == '00') {
$date = date('Y-m-d');
$date = date('Y-m-d');
$hour = 24 ;
} else {
} else {
$date = date('Y-m-d', time() + 24 * 60 * 60);
$date = date('Y-m-d', time() + 24 * 60 * 60);
}
}
Write
Preview
Loading…
Cancel
Save