fix: correct path for cron
This commit is contained in:
@@ -79,7 +79,7 @@ class SettingsHandler
|
||||
$data['forms'] = [];
|
||||
|
||||
// Add CRON system details (read-only)
|
||||
$data['cron']['cli_path'] = realpath(DIR_SYSTEM . '../cli.php');
|
||||
$data['cron']['cli_path'] = dirname(DIR_SYSTEM) . '/cli.php';
|
||||
$data['cron']['last_run'] = $this->getLastCronRunDate();
|
||||
|
||||
$forms = $this->builder->newQuery()
|
||||
|
||||
@@ -110,4 +110,8 @@ HTML,
|
||||
'paths' => [
|
||||
'images_cache' => 'cache/telecart',
|
||||
],
|
||||
|
||||
'cron' => [
|
||||
'mode' => 'disabled',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user