fix: correct path for cron

This commit is contained in:
2025-12-23 19:38:19 +03:00
parent b87797ee67
commit 185f3096e1
3 changed files with 6 additions and 2 deletions

View File

@@ -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()

View File

@@ -110,4 +110,8 @@ HTML,
'paths' => [
'images_cache' => 'cache/telecart',
],
'cron' => [
'mode' => 'disabled',
],
];