diff --git a/app/Views/settings/index.php b/app/Views/settings/index.php index 1d83b62..5d9c05f 100644 --- a/app/Views/settings/index.php +++ b/app/Views/settings/index.php @@ -403,7 +403,7 @@ foreach ($notificationPresets as $key => $preset) { Recommended Crontab Entry
- 0 */ * * * php /path/to/cron/check_domains.php + 0 */ * * * php

Update the path to match your server installation

diff --git a/public/index.php b/public/index.php index 8901315..bf74ea5 100644 --- a/public/index.php +++ b/public/index.php @@ -6,6 +6,8 @@ use Core\Application; use Core\Router; use Dotenv\Dotenv; +define('PATH_ROOT', __DIR__ . '/../'); + // Load environment variables $dotenv = Dotenv::createImmutable(__DIR__ . '/..'); $dotenv->load();