root/websites/events.php.gr.jp/trunk/cake/bootstrap.php
| Revision 35512, 1.6 kB (checked in by kaz_29, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | /* SVN FILE: $Id: bootstrap.php 7118 2008-06-04 20:49:29Z gwoo $ */ |
| 3 | /** |
| 4 | * Basic Cake functionality. |
| 5 | * |
| 6 | * Core functions for including other source files, loading models and so forth. |
| 7 | * |
| 8 | * PHP versions 4 and 5 |
| 9 | * |
| 10 | * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> |
| 11 | * Copyright 2005-2008, Cake Software Foundation, Inc. |
| 12 | * 1785 E. Sahara Avenue, Suite 490-204 |
| 13 | * Las Vegas, Nevada 89104 |
| 14 | * |
| 15 | * Licensed under The MIT License |
| 16 | * Redistributions of files must retain the above copyright notice. |
| 17 | * |
| 18 | * @filesource |
| 19 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. |
| 20 | * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project |
| 21 | * @package cake |
| 22 | * @subpackage cake.cake |
| 23 | * @since CakePHP(tm) v 0.2.9 |
| 24 | * @version $Revision: 7118 $ |
| 25 | * @modifiedby $LastChangedBy: gwoo $ |
| 26 | * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ |
| 27 | * @license http://www.opensource.org/licenses/mit-license.php The MIT License |
| 28 | */ |
| 29 | if (!defined('PHP5')) { |
| 30 | define ('PHP5', (phpversion() >= 5)); |
| 31 | } |
| 32 | /** |
| 33 | * Configuration, directory layout and standard libraries |
| 34 | */ |
| 35 | if (!isset($bootstrap)) { |
| 36 | require CORE_PATH . 'cake' . DS . 'basics.php'; |
| 37 | $TIME_START = getMicrotime(); |
| 38 | require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php'; |
| 39 | require LIBS . 'object.php'; |
| 40 | require LIBS . 'inflector.php'; |
| 41 | require LIBS . 'configure.php'; |
| 42 | } |
| 43 | require LIBS . 'file.php'; |
| 44 | require LIBS . 'cache.php'; |
| 45 | |
| 46 | Configure::getInstance(); |
| 47 | |
| 48 | $url = null; |
| 49 | |
| 50 | App::import('Core', array('Session', 'Security', 'String', 'Dispatcher')); |
| 51 | ?> |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)