summaryrefslogtreecommitdiff
path: root/public/app/config/app_constants.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-08 17:22:09 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-05-08 17:22:09 +0300
commit9aebaab3a198fcc5334119bdbef10750e08878ae (patch)
tree0da3869fa26fd5400cf98ae5c1956c892faf10a5 /public/app/config/app_constants.php
parent05e696a139b543c70025082257d413718c31a9dc (diff)
downloadclassroom-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.php25
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