autodetect cron script path
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user