Subversion-Projekte lars-tiefland.cakephp

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/* SVN FILE: $Id: bootstrap.php 7945 2008-12-19 02:16:01Z 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. (http://www.cakefoundation.org)
12
 *
13
 * Licensed under The MIT License
14
 * Redistributions of files must retain the above copyright notice.
15
 *
16
 * @filesource
17
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
18
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
19
 * @package       cake
20
 * @subpackage    cake.cake
21
 * @since         CakePHP(tm) v 0.2.9
22
 * @version       $Revision: 7945 $
23
 * @modifiedby    $LastChangedBy: gwoo $
24
 * @lastmodified  $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
25
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
26
 */
27
if (!defined('PHP5')) {
28
	define('PHP5', (PHP_VERSION >= 5));
29
}
30
/**
31
 * Configuration, directory layout and standard libraries
32
 */
33
	if (!isset($bootstrap)) {
34
		require CORE_PATH . 'cake' . DS . 'basics.php';
35
		$TIME_START = getMicrotime();
36
		require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
37
		require LIBS . 'object.php';
38
		require LIBS . 'inflector.php';
39
		require LIBS . 'configure.php';
40
	}
41
	require LIBS . 'cache.php';
42
 
43
	Configure::getInstance();
44
 
45
	$url = null;
46
 
47
	App::import('Core', array('Dispatcher'));
48
?>