Skip to content

Commit 3ef588f

Browse files
committed
Fixed bug
1 parent cd1a1fe commit 3ef588f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/core.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ private function loadConfigs()
5656

5757
if (isset($_SERVER['DEBUG']) && $_SERVER['DEBUG'] == 'true')
5858
{
59-
self::$config['core']['general']['path'] = self::$config['core']['path']['local'];
59+
self::$config['core']['general']['path'] = self::$config['core']['path']['debug'];
6060
self::$config['core']['general']['devel'] = true;
6161
}
6262
else
6363
{
64-
self::$config['core']['general']['path'] = self::$config['core']['path']['web'];
64+
self::$config['core']['general']['path'] = self::$config['core']['path']['release'];
6565
self::$config['core']['general']['devel'] = false;
6666
}
6767
}

0 commit comments

Comments
 (0)