remove unnecessary application variable.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// The path to the application directory.
|
// The path to the application directory.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
define('APP_PATH', realpath($application = '../application').'/');
|
define('APP_PATH', realpath('../application').'/');
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// The path to the system directory.
|
// The path to the system directory.
|
||||||
@@ -47,7 +47,7 @@ foreach ($constants as $key => $value)
|
|||||||
define($key, $value);
|
define($key, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($constants, $application, $system);
|
unset($constants, $system);
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Define the PHP file extension.
|
// Define the PHP file extension.
|
||||||
|
|||||||
Reference in New Issue
Block a user