1234567891011121314151617181920212223242526272829303132 |
- <?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(
- // Add classes you want to override here
- // Example: 'View' => APPPATH.'classes/view.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 = Fuel::PRODUCTION;
- //Fuel::$env = Fuel::DEVELOPMENT;
- // Initialize the framework with the config file.
- Fuel::init('config.php');
|