00001 <?php 00002 /* SVN FILE: $Id: bootstrap.php 7847 2008-11-08 02:54:07Z renan.saddam $ */ 00003 /** 00004 * Basic Cake functionality. 00005 * 00006 * Core functions for including other source files, loading models and so forth. 00007 * 00008 * PHP versions 4 and 5 00009 * 00010 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 00011 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 00012 * 00013 * Licensed under The MIT License 00014 * Redistributions of files must retain the above copyright notice. 00015 * 00016 * @filesource 00017 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 00018 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 00019 * @package cake 00020 * @subpackage cake.cake 00021 * @since CakePHP(tm) v 0.2.9 00022 * @version $Revision: 7847 $ 00023 * @modifiedby $LastChangedBy: renan.saddam $ 00024 * @lastmodified $Date: 2008-11-07 21:54:07 -0500 (Fri, 07 Nov 2008) $ 00025 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 00026 */ 00027 if (!defined('PHP5')) { 00028 define('PHP5', (PHP_VERSION >= 5)); 00029 } 00030 /** 00031 * Configuration, directory layout and standard libraries 00032 */ 00033 if (!isset($bootstrap)) { 00034 require CORE_PATH . 'cake' . DS . 'basics.php'; 00035 $TIME_START = getMicrotime(); 00036 require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php'; 00037 require LIBS . 'object.php'; 00038 require LIBS . 'inflector.php'; 00039 require LIBS . 'configure.php'; 00040 } 00041 require LIBS . 'cache.php'; 00042 00043 Configure::getInstance(); 00044 00045 $url = null; 00046 00047 App::import('Core', array('Dispatcher')); 00048 ?>
1.4.7