Add include path to cron
parent
0ecd9aed75
commit
0a79d465ac
|
@ -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/'))
|
||||
|
|
Loading…
Reference in New Issue