summaryrefslogtreecommitdiff
path: root/public/app/config/app_constants.php
diff options
context:
space:
mode:
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