Created
February 5, 2012 16:41
-
-
Save tarnfeld/1746495 to your computer and use it in GitHub Desktop.
sdfdsf
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 | |
| // Load in the Autoloader | |
| require COREPATH.'classes'.DIRECTORY_SEPARATOR.'autoloader.php'; | |
| class_alias('Fuel\\Core\\Autoloader', 'Autoloader'); | |
| // Bootstrap the framework DO NOT edit this | |
| require COREPATH.'bootstrap.php'; | |
| Autoloader::add_classes(array( | |
| // php-cloudfiles vendor classes | |
| 'CF_Authentication' => APPPATH.'vendor/php-cloudfiles/cloudfiles.php', | |
| 'CF_Connection' => APPPATH.'vendor/php-cloudfiles/cloudfiles.php', | |
| 'CF_Container' => APPPATH.'vendor/php-cloudfiles/cloudfiles.php', | |
| 'CF_Object' => APPPATH.'vendor/php-cloudfiles/cloudfiles.php', | |
| )); | |
| // Register the Imagine vendor library namespace to the imagine path | |
| Autoloader::add_namespace('Imagine', APPPATH . 'vendor/imagine/lib/Imagine/', true); | |
| // 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::PRODUCTION); | |
| // 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