From 9aebaab3a198fcc5334119bdbef10750e08878ae Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Mon, 8 May 2023 17:22:09 +0300 Subject: refactoring anom-parametres setup --- public/app/config/app_constants.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'public/app/config/app_constants.php') diff --git a/public/app/config/app_constants.php b/public/app/config/app_constants.php index b46bc51..64475ba 100644 --- a/public/app/config/app_constants.php +++ b/public/app/config/app_constants.php @@ -25,6 +25,31 @@ if (file_exists("../core/auth/.env")) { define('SITE_TITLE', 'Classroom'); define('SITE_URL', 'http://localhost'); + + + + +/** HOTFIX: */ +define('SESSION_NAME', 'clroom'); // Session Name + + +/** Caching expiration times fpr various expensive objects + * ----------------------------------------------------------------------------- + */ + +// Root objects like product-categories tree +define('CACHE_ROOT_TTL', 28800); // 8 hours + +// Product Category +define('CACHE_CATEGORY_TTL', 18000); // 5 hours + +// Product +define('CACHE_PRODUCT_TTL', 3600); // 1 hour + + + + + // email setup // --- -- -- - - - // SMTP -- cgit v1.2.3