diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-17 12:12:22 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-17 12:12:22 +0300 |
| commit | 68fc9e55e538e03f94509731ab41a0c8cf96710f (patch) | |
| tree | 3edb1e81864ac3eb35ba0fe8087ed24da1b812bf /core/config | |
| parent | 84b2da85a1b452922dadb6a609533b9945afe51d (diff) | |
| download | classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.gz classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.bz2 classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.zip | |
setup a real server environment (apache DocumentRoot=/var/www/public)
Diffstat (limited to 'core/config')
| -rw-r--r-- | core/config/anom_settings.php | 5 | ||||
| -rw-r--r-- | core/config/init.php | 2 |
2 files changed, 4 insertions, 3 deletions
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' diff --git a/core/config/init.php b/core/config/init.php index 0dbaaf0..c64b35d 100644 --- a/core/config/init.php +++ b/core/config/init.php @@ -6,7 +6,7 @@ * (Registry and Request) * * Include _anything_ that is common practice on the request life-cycle - * of your project and does not need to be shown in the /html/index.php + * of your project and does not need to be shown in the /public/index.php * Usualy here you shall initialize supplamentary services like Sessions * / Database / Caching etc. * |
