require_once is also a statement and not a function

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-18 13:06:43 +01:00
parent 87ccff6a7b
commit 48de5d7c22
2 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ if (isset($argv[1]) && strtolower($argv[1]) == '--help') {
}
/**
* check for --force to include cron_tasks
* check for --force to include cron_tasks
* even if it's not its turn
*/
for ($x = 1; $x < count($argv); $x++) {
@@ -56,7 +56,7 @@ for ($x = 1; $x < count($argv); $x++) {
}
foreach ($jobs_to_run as $cron) {
require_once($cron);
require_once $cron;
}
fwrite($debugHandler, 'Cronfiles have been included' . "\n");