Created
November 12, 2011 00:53
-
-
Save sluther/1359819 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require COREPATH.'classes'.DIRECTORY_SEPARATOR.'autoloader.php'; | |
class_alias('Fuel\\Core\\Autoloader', 'Autoloader'); | |
// Bootstrap the framework DO NOT edit this | |
require_once COREPATH.'bootstrap.php'; | |
Autoloader::add_classes(array( | |
// Add classes you want to override here | |
// Example: 'View' => APPPATH.'classes/view.php', | |
'Pagination' => APPPATH.'classes/pagination.php', | |
)); | |
// Register the autoloader | |
Autoloader::register(); | |
/** | |
* Your environment. Can be set to any of the following: | |
* | |
* Fuel::DEVELOPMENT | |
* Fuel::TEST | |
* Fuel::STAGE | |
* Fuel::PRODUCTION | |
*/ | |
Fuel::$env = (isset($_SERVER['FUEL_ENV']) ? $_SERVER['FUEL_ENV'] : Fuel::DEVELOPMENT); | |
// Initialize the framework with the config file. | |
Fuel::init('config.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment