예제 #1
0
<?php

// Bootstrap the framework DO NOT edit this
require_once COREPATH . 'bootstrap.php';
Autoloader::add_classes(array());
// Register the autoloader
Autoloader::register();
// Initialize the framework with the config file.
Fuel::init(include APPPATH . 'config/config.php');
/* End of file bootstrap.php */
예제 #2
0
<?php

ini_set('default_charset', 'UTF-8');
// Bootstrap the framework DO NOT edit this
require COREPATH . 'bootstrap.php';
\Autoloader::add_classes(array());
// 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 = isset($_SERVER['FUEL_ENV']) ? $_SERVER['FUEL_ENV'] : \Fuel::DEVELOPMENT;
// Initialize the framework with the config file.
\Fuel::init('config.php');
예제 #3
0
파일: bootstrap.php 프로젝트: nasumi/fuel
<?php
/**
 * Fuel
 *
 * Fuel is a fast, lightweight, community driven PHP5 framework.
 *
 * @package		Fuel
 * @version		1.0
 * @author		Fuel Development Team
 * @license		MIT License
 * @copyright	2010 - 2011 Fuel Development Team
 * @link		http://fuelphp.com
 */


// Initialize the framework
Fuel::init();

// Generate the request, execute it and send the output.
Request::factory()->execute()->send_headers()->output();

Event::shutdown();
Fuel::finish();


/* End of file bootstrap.php */