diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-08 17:22:09 +0300 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-08 17:22:09 +0300 |
| commit | 9aebaab3a198fcc5334119bdbef10750e08878ae (patch) | |
| tree | 0da3869fa26fd5400cf98ae5c1956c892faf10a5 /public/app/config/app_constants.php | |
| parent | 05e696a139b543c70025082257d413718c31a9dc (diff) | |
| download | classroom-master.tar.gz classroom-master.tar.bz2 classroom-master.zip | |
refactoring anom-parametres setupmaster
Diffstat (limited to 'public/app/config/app_constants.php')
| -rw-r--r-- | public/app/config/app_constants.php | 25 |
1 files changed, 25 insertions, 0 deletions
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 |
