bootstrap.php 695 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. // Load in the Autoloader
  3. require COREPATH.'classes'.DIRECTORY_SEPARATOR.'autoloader.php';
  4. class_alias('Fuel\\Core\\Autoloader', 'Autoloader');
  5. // Bootstrap the framework DO NOT edit this
  6. require COREPATH.'bootstrap.php';
  7. Autoloader::add_classes(array(
  8. // Add classes you want to override here
  9. // Example: 'View' => APPPATH.'classes/view.php',
  10. ));
  11. // Register the autoloader
  12. Autoloader::register();
  13. /**
  14. * Your environment. Can be set to any of the following:
  15. *
  16. * Fuel::DEVELOPMENT
  17. * Fuel::TEST
  18. * Fuel::STAGE
  19. * Fuel::PRODUCTION
  20. */
  21. Fuel::$env = Fuel::PRODUCTION;
  22. //Fuel::$env = Fuel::DEVELOPMENT;
  23. // Initialize the framework with the config file.
  24. Fuel::init('config.php');