From 68fc9e55e538e03f94509731ab41a0c8cf96710f Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 17 Apr 2023 12:12:22 +0300 Subject: setup a real server environment (apache DocumentRoot=/var/www/public) --- core/config/anom_settings.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/config/anom_settings.php') diff --git a/core/config/anom_settings.php b/core/config/anom_settings.php index 399c180..f98c95d 100644 --- a/core/config/anom_settings.php +++ b/core/config/anom_settings.php @@ -117,7 +117,8 @@ define('AUTOLOADER' , '../vendor/autoload.php'); define('SESSION_DRIVER', 'DefaultSession'); - +// if FileSession is selected, a path for session-files is needed +# define('FILESESSION_PATH', '../storage/session'); /* ADVANCED OPTIMIZATION /////////////////////////////////////////////////////// * ----------------------------------------------------------------------------- @@ -158,7 +159,7 @@ define('CACHE_PRODUCT_TTL', 3600); // 1 hour // CONNECTIONS ... -define('FILECACHE_PATH', APP_ROOT.'/cache/'); // if CACHE_DRIVER is set to 'FileCache' +define('FILECACHE_PATH', APP_ROOT.'../storage/cache/'); // if CACHE_DRIVER is set to 'FileCache' # define('REDIS_HOST', '127.0.0.1'); // if CACHE_DRIVER is set to 'RedisCache' -- cgit v1.2.3