Advertisement
Guest User

Untitled

a guest
Dec 16th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.67 KB | None | 0 0
  1. <?php
  2.  
  3. // Load in the Autoloader
  4. require COREPATH.'classes'.DIRECTORY_SEPARATOR.'autoloader.php';
  5. class_alias('Fuel\\Core\\Autoloader', 'Autoloader');
  6.  
  7. // Bootstrap the framework DO NOT edit this
  8. require COREPATH.'bootstrap.php';
  9.  
  10.  
  11. Autoloader::add_classes(
  12. array(
  13. 'Html' => APPPATH.'classes/AdvHtml.php'
  14. ));
  15.  
  16. // Register the autoloader
  17. Autoloader::register();
  18.  
  19. /**
  20.  * Your environment.  Can be set to any of the following:
  21.  *
  22.  * Fuel::DEVELOPMENT
  23.  * Fuel::TEST
  24.  * Fuel::STAGE
  25.  * Fuel::PRODUCTION
  26.  */
  27. Fuel::$env = (isset($_SERVER['FUEL_ENV']) ? $_SERVER['FUEL_ENV'] : Fuel::STAGE);
  28.  
  29. // Initialize the framework with the config file.
  30. Fuel::init('config.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement