Commit d484d323 authored by Marc Egger's avatar Marc Egger
Browse files

autocron path: set main path in autocron script

parent 2f178ae7
Pipeline #4093 passed with stages
in 5 minutes and 30 seconds
......@@ -10,6 +10,7 @@ namespace IMATHUZH\Qfq\External;
require_once(__DIR__ . '/../../vendor/autoload.php');
use IMATHUZH\Qfq\Core\Helper\Path;
use IMATHUZH\Qfq\External\AutoCron;
global $argv;
......@@ -34,6 +35,7 @@ try {
}
}
chdir($baseDir);
Path::setMainPaths('');
}
$autoCron = new AutoCron($verbose);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment