Commit ae1acfdd by Taylor Otwell

adjusted front controller.

parent 69ec79c9
...@@ -19,6 +19,11 @@ define('APP_PATH', realpath('../application').'/'); ...@@ -19,6 +19,11 @@ define('APP_PATH', realpath('../application').'/');
define('SYS_PATH', realpath($system = '../system').'/'); define('SYS_PATH', realpath($system = '../system').'/');
// -------------------------------------------------------------- // --------------------------------------------------------------
// The path to the public directory.
// --------------------------------------------------------------
define('PUBLIC_PATH', realpath(__DIR__).'/');
// --------------------------------------------------------------
// The path to the packages directory. // The path to the packages directory.
// -------------------------------------------------------------- // --------------------------------------------------------------
define('PACKAGE_PATH', realpath('../packages').'/'); define('PACKAGE_PATH', realpath('../packages').'/');
...@@ -34,11 +39,6 @@ define('MODULE_PATH', realpath('../modules').'/'); ...@@ -34,11 +39,6 @@ define('MODULE_PATH', realpath('../modules').'/');
define('STORAGE_PATH', realpath('../storage').'/'); define('STORAGE_PATH', realpath('../storage').'/');
// -------------------------------------------------------------- // --------------------------------------------------------------
// The path to the public directory.
// --------------------------------------------------------------
define('PUBLIC_PATH', realpath(__DIR__).'/');
// --------------------------------------------------------------
// The path to the directory containing the system directory. // The path to the directory containing the system directory.
// -------------------------------------------------------------- // --------------------------------------------------------------
define('BASE_PATH', realpath(str_replace('system', '', $system)).'/'); define('BASE_PATH', realpath(str_replace('system', '', $system)).'/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment