diff --git a/public/index.php b/public/index.php index 4b0819e8..6f2db1ec 100644 --- a/public/index.php +++ b/public/index.php @@ -11,39 +11,34 @@ // -------------------------------------------------------------- // The path to the application directory. // -------------------------------------------------------------- -define('APP_PATH', realpath('../application').'/'); +$application = '../application'; // -------------------------------------------------------------- // The path to the system directory. // -------------------------------------------------------------- -define('SYS_PATH', realpath($system = '../system').'/'); - -// -------------------------------------------------------------- -// The path to the public directory. -// -------------------------------------------------------------- -define('PUBLIC_PATH', realpath(__DIR__).'/'); +$system = '../system'; // -------------------------------------------------------------- // The path to the packages directory. // -------------------------------------------------------------- -define('PACKAGE_PATH', realpath('../packages').'/'); +$packages = '../packages'; // -------------------------------------------------------------- // The path to the modules directory. // -------------------------------------------------------------- -define('MODULE_PATH', realpath('../modules').'/'); +$modules = '../modules'; // -------------------------------------------------------------- // The path to the storage directory. // -------------------------------------------------------------- -define('STORAGE_PATH', realpath('../storage').'/'); +$storage = '../storage'; // -------------------------------------------------------------- -// The path to the directory containing the system directory. +// The path to the public directory. // -------------------------------------------------------------- -define('BASE_PATH', realpath(str_replace('system', '', $system)).'/'); +$public = __DIR__; // -------------------------------------------------------------- // Launch Laravel. // -------------------------------------------------------------- -require SYS_PATH.'laravel.php'; \ No newline at end of file +require $system.'/laravel.php'; \ No newline at end of file