You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
676 B
26 lines
676 B
7 years ago
|
<?php
|
||
|
// 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',
|
||
|
'Database_Query_Builder_Insert' => APPPATH.'classes/database/query/builder/insert.php',
|
||
|
));
|
||
|
|
||
|
// Register the autoloader
|
||
|
\Autoloader::register();
|
||
|
|
||
|
/**
|
||
|
* Your environment. Can be set to any of the following:
|
||
|
*
|
||
|
* Fuel::DEVELOPMENT
|
||
|
* Fuel::TEST
|
||
|
* Fuel::STAGING
|
||
|
* Fuel::PRODUCTION
|
||
|
*/
|
||
|
\Fuel::$env = \Arr::get($_SERVER, 'FUEL_ENV', \Arr::get($_ENV, 'FUEL_ENV', \Fuel::DEVELOPMENT));
|
||
|
|
||
|
// Initialize the framework with the config file.
|
||
|
\Fuel::init('config.php');
|