summaryrefslogtreecommitdiff
path: root/core/cli
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-17 12:12:22 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-17 12:12:22 +0300
commit68fc9e55e538e03f94509731ab41a0c8cf96710f (patch)
tree3edb1e81864ac3eb35ba0fe8087ed24da1b812bf /core/cli
parent84b2da85a1b452922dadb6a609533b9945afe51d (diff)
downloadclassroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.gz
classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.bz2
classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.zip
setup a real server environment (apache DocumentRoot=/var/www/public)
Diffstat (limited to 'core/cli')
-rw-r--r--core/cli/micro/setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/cli/micro/setup.php b/core/cli/micro/setup.php
index 3a8e5eb..ca2fd40 100644
--- a/core/cli/micro/setup.php
+++ b/core/cli/micro/setup.php
@@ -54,7 +54,7 @@ define('APP_NAME', 'e-Classroom'); // Application Name
define('APP_VERSION', 'v0.1'); // Application version
-define('APP_ROOT', realpath(MINI_APP_BASE.'../../html'));
+define('APP_ROOT', realpath(MINI_APP_BASE.'../../public'));
// Cache driver and caching TTLs
// -----------------------------------------------------------------------------
@@ -69,7 +69,7 @@ define('CACHE_CATEGORY_TTL', 18000); // 5 hours
// Product
define('CACHE_PRODUCT_TTL', 3600); // 1 hour
-define('FILECACHE_PATH', realpath(MINI_APP_BASE.'../../html/cache/').'/');
+define('FILECACHE_PATH', realpath(MINI_APP_BASE.'../../storage/cache/').'/');
echo "Cache Directory is ". textColor(FILECACHE_PATH, GREEN)."\n";