* @link http://laravel.com */ // -------------------------------------------------------------- // Define the directory separator for the environment. // -------------------------------------------------------------- define('DS', DIRECTORY_SEPARATOR); // -------------------------------------------------------------- // The path to the application directory. // -------------------------------------------------------------- define('APP_PATH', realpath('application').'/'); // -------------------------------------------------------------- // The path to the bundles directory. // -------------------------------------------------------------- define('BUNDLE_PATH', realpath('bundles').'/'); // -------------------------------------------------------------- // The path to the storage directory. // -------------------------------------------------------------- define('STORAGE_PATH', realpath('storage').'/'); // -------------------------------------------------------------- // The path to the Laravel directory. // -------------------------------------------------------------- define('SYS_PATH', realpath('laravel').'/'); // -------------------------------------------------------------- // The path to the public directory. // -------------------------------------------------------------- define('PUBLIC_PATH', realpath('public').'/'); // -------------------------------------------------------------- // Bootstrap the Laravel core. // -------------------------------------------------------------- require SYS_PATH.'core.php'; // -------------------------------------------------------------- // Launch the Laravel "Artisan" CLI. // -------------------------------------------------------------- require SYS_PATH.'cli/artisan'.EXT;