source: Dev/branches/cakephp/cake/bootstrap.php @ 126

Last change on this file since 126 was 126, checked in by fpvanagthoven, 14 years ago

Cakephp branch.

File size: 1.2 KB
Line 
1<?php
2/**
3 * Basic Cake functionality.
4 *
5 * Handles loading of core files needed on every request
6 *
7 * PHP versions 4 and 5
8 *
9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
10 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
11 *
12 * Licensed under The MIT License
13 * Redistributions of files must retain the above copyright notice.
14 *
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 * @link          http://cakephp.org CakePHP(tm) Project
17 * @package       cake
18 * @subpackage    cake.cake
19 * @since         CakePHP(tm) v 0.2.9
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
21 */
22if (!defined('PHP5')) {
23        define('PHP5', (PHP_VERSION >= 5));
24}
25if (!defined('E_DEPRECATED')) {
26        define('E_DEPRECATED', 8192);
27}
28error_reporting(E_ALL & ~E_DEPRECATED);
29
30require CORE_PATH . 'cake' . DS . 'basics.php';
31$TIME_START = getMicrotime();
32require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
33require LIBS . 'object.php';
34require LIBS . 'inflector.php';
35require LIBS . 'configure.php';
36require LIBS . 'set.php';
37require LIBS . 'cache.php';
38Configure::getInstance();
39require CAKE . 'dispatcher.php';
Note: See TracBrowser for help on using the repository browser.