From 68fc9e55e538e03f94509731ab41a0c8cf96710f Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 17 Apr 2023 12:12:22 +0300 Subject: setup a real server environment (apache DocumentRoot=/var/www/public) --- core/cli/micro/setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/cli') 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"; -- cgit v1.2.3