2008-05-30 11:40:08 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Basic Cake functionality.
|
|
|
|
*
|
2009-05-01 21:05:46 +00:00
|
|
|
* Handles loading of core files needed on every request
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-10-03 16:38:58 +00:00
|
|
|
* PHP 5
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2009-05-01 21:05:46 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2010-01-26 19:18:20 +00:00
|
|
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2010-01-26 19:18:20 +00:00
|
|
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-01-26 22:03:03 +00:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2008-10-30 17:30:26 +00:00
|
|
|
* @package cake
|
|
|
|
* @since CakePHP(tm) v 0.2.9
|
2009-05-01 21:05:46 +00:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
2008-05-30 11:40:08 +00:00
|
|
|
*/
|
2009-07-31 15:48:30 +00:00
|
|
|
if (!defined('E_DEPRECATED')) {
|
2009-08-01 12:36:57 +00:00
|
|
|
define('E_DEPRECATED', 8192);
|
2009-07-31 15:48:30 +00:00
|
|
|
}
|
2009-08-01 12:36:57 +00:00
|
|
|
error_reporting(E_ALL & ~E_DEPRECATED);
|
|
|
|
|
2009-05-01 21:05:46 +00:00
|
|
|
require CORE_PATH . 'cake' . DS . 'basics.php';
|
|
|
|
require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
|
2010-11-28 17:27:51 +00:00
|
|
|
require LIBS . 'error' . DS . 'exceptions.php';
|
2009-05-01 21:05:46 +00:00
|
|
|
require LIBS . 'object.php';
|
2011-02-05 06:28:41 +00:00
|
|
|
require LIBS . 'object_collection.php';
|
2009-05-01 21:05:46 +00:00
|
|
|
require LIBS . 'inflector.php';
|
2010-11-14 18:02:17 +00:00
|
|
|
require LIBS . 'app.php';
|
2009-05-01 21:05:46 +00:00
|
|
|
require LIBS . 'configure.php';
|
|
|
|
require LIBS . 'set.php';
|
|
|
|
require LIBS . 'cache.php';
|
2010-11-28 17:27:51 +00:00
|
|
|
require LIBS . 'error' . DS . 'error_handler.php';
|
2010-09-02 00:29:55 +00:00
|
|
|
|
2010-09-02 21:16:57 +00:00
|
|
|
Configure::bootstrap(isset($boot) ? $boot : true);
|
2010-09-02 21:00:52 +00:00
|
|
|
|