From 0a79d465acc69806f98389d251e375a39bf11a2d Mon Sep 17 00:00:00 2001 From: Anonymous Contributor Date: Wed, 23 Aug 2023 18:16:36 +0200 Subject: [PATCH] Add include path to cron --- crone.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crone.php b/crone.php index 5b2911e..84a5b5b 100644 --- a/crone.php +++ b/crone.php @@ -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/'))