1
0
Fork 0

Add include path to cron

master
Anonymous Contributor 2023-08-23 18:16:36 +02:00
parent 0ecd9aed75
commit 0a79d465ac
1 changed files with 3 additions and 3 deletions

View File

@ -3,11 +3,11 @@ date_default_timezone_set("Europe/Berlin");
error_reporting(E_ALL);
session_start();
include_once("app/utils.php");
include_once("app/HTML.php");
$RUNTIME = array();
$RUNTIME['BASEDIR'] = __DIR__;
set_include_path('.:'.$RUNTIME['BASEDIR']);
include_once("app/utils.php");
include_once("app/HTML.php");
include_once("config.php");
if ($handle = opendir('./cron/'))