Skip to content
Newer
Older
100644 43 lines (39 sloc) 1.37 KB
e1f48bf @phpnut going thru trunk and cleaning up the file headers so API docs can be …
phpnut authored
1 <?php
cd86555 @phpnut moving cake to a sub directory
phpnut authored
2 /**
6baaa11 @phpnut [1125]
phpnut authored
3 * Requests collector.
8188061 @phpnut Merging fixes and enhancements into trunk
phpnut authored
4 *
4234bc9 I've added some fixes and new methods, hope this gets to be in the to…
pies authored
5 * This file collects requests if:
2bb9376 @rchavik fixing typos
rchavik authored
6 * - no mod_rewrite is available or .htaccess files are not supported
1c7d54e @jrbasso Updated the paths from comments.
jrbasso authored
7 * - requires App.baseUrl to be uncommented in app/Config/core.php
15518b8 merging 1.3-misc into master
gwoo authored
8 * - app/webroot is not set as a document root.
fbf4d9e @phpnut merging code from sandboxes since [430]
phpnut authored
9 *
f847080 @markstory Changing more php version strings.
markstory authored
10 * PHP 5
fbf4d9e @phpnut merging code from sandboxes since [430]
phpnut authored
11 *
15518b8 merging 1.3-misc into master
gwoo authored
12 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
c754fb2 @jrbasso Updated copyright to 2012.
jrbasso authored
13 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
fbf4d9e @phpnut merging code from sandboxes since [430]
phpnut authored
14 *
c7d02c8 @phpnut Merging changes to the trunk.
phpnut authored
15 * Licensed under The MIT License
16 * Redistributions of files must retain the above copyright notice.
fbf4d9e @phpnut merging code from sandboxes since [430]
phpnut authored
17 *
c754fb2 @jrbasso Updated copyright to 2012.
jrbasso authored
18 * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
527eec1 @markstory Fixing doc tags to make merge easier.
markstory authored
19 * @link http://cakephp.org CakePHP(tm) Project
3f2fa69 @AD7six changing tabs for spaces in comment block indentation
AD7six authored
20 * @since CakePHP(tm) v 0.2.9
15518b8 merging 1.3-misc into master
gwoo authored
21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
4a87a75 - Two standard controllers -- PageController and TestsController
pies authored
22 */
ef7e1b6 @predominant Removed leading indentation to fix coding standards in /index.php
predominant authored
23
4a87a75 - Two standard controllers -- PageController and TestsController
pies authored
24 /**
4234bc9 I've added some fixes and new methods, hope this gets to be in the to…
pies authored
25 * Get Cake's root directory
26 */
ef7e1b6 @predominant Removed leading indentation to fix coding standards in /index.php
predominant authored
27 define('APP_DIR', 'app');
28 define('DS', DIRECTORY_SEPARATOR);
29 define('ROOT', dirname(__FILE__));
30 define('WEBROOT_DIR', 'webroot');
31 define('WWW_ROOT', ROOT . DS . APP_DIR . DS . WEBROOT_DIR . DS);
32
8188061 @phpnut Merging fixes and enhancements into trunk
phpnut authored
33 /**
15518b8 merging 1.3-misc into master
gwoo authored
34 * This only needs to be changed if the "cake" directory is located
35 * outside of the distributed structure.
36 * Full path to the directory containing "cake". Do not add trailing directory separator
8188061 @phpnut Merging fixes and enhancements into trunk
phpnut authored
37 */
ef7e1b6 @predominant Removed leading indentation to fix coding standards in /index.php
predominant authored
38 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
39 define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');
40 }
15518b8 merging 1.3-misc into master
gwoo authored
41
ef7e1b6 @predominant Removed leading indentation to fix coding standards in /index.php
predominant authored
42 require APP_DIR . DS . WEBROOT_DIR . DS . 'index.php';
Something went wrong with that request. Please try again.