Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (38 sloc) 1.753 kB
cd86555 @phpnut moving cake to a sub directory
phpnut authored
1 <?php
2 //////////////////////////////////////////////////////////////////////////
3 // + $Id$
4 // +------------------------------------------------------------------+ //
bb71238 @phpnut change license to The MIT License
phpnut authored
5 // + Cake <https://developers.nextco.com/cake/> + //
a04f96d @phpnut modifying file headers
phpnut authored
6 // + Copyright: (c) 2005, Cake Authors/Developers + //
bb71238 @phpnut change license to The MIT License
phpnut authored
7 // + Author(s): Michal Tatarynowicz aka Pies <tatarynowicz@gmail.com> + //
8 // + Larry E. Masters aka PhpNut <nut@phpnut.com> + //
9 // + Kamil Dzielinski aka Brego <brego.dk@gmail.com> + //
cd86555 @phpnut moving cake to a sub directory
phpnut authored
10 // +------------------------------------------------------------------+ //
bb71238 @phpnut change license to The MIT License
phpnut authored
11 // + Licensed under The MIT License + //
12 // + Redistributions of files must retain the above copyright notice. + //
a04f96d @phpnut modifying file headers
phpnut authored
13 // + See: http://www.opensource.org/licenses/mit-license.php + //
cd86555 @phpnut moving cake to a sub directory
phpnut authored
14 //////////////////////////////////////////////////////////////////////////
15
16 /**
0a4a5e9 writing some docs, starting low...
brego authored
17 * This file collects requests if no mod_rewrite is avilable and / is used
18 * instead of /public/ as a web root.
cd86555 @phpnut moving cake to a sub directory
phpnut authored
19 *
20 * @filesource
a04f96d @phpnut modifying file headers
phpnut authored
21 * @author Cake Authors/Developers
bb71238 @phpnut change license to The MIT License
phpnut authored
22 * @copyright Copyright (c) 2005, Cake Authors/Developers
23 * @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
cd86555 @phpnut moving cake to a sub directory
phpnut authored
24 * @package cake
25 * @since Cake v 0.2.9
26 * @version $Revision$
bb71238 @phpnut change license to The MIT License
phpnut authored
27 * @modifiedby $LastChangedBy$
28 * @lastmodified $Date$
29 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
cd86555 @phpnut moving cake to a sub directory
phpnut authored
30 */
31
32 /**
0a4a5e9 writing some docs, starting low...
brego authored
33 * We need to redefine some constants and variables, so that Cake knows it is
34 * working without mod_rewrite.
35 */
cd86555 @phpnut moving cake to a sub directory
phpnut authored
36 define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
37 define ('ROOT', dirname($_SERVER['SCRIPT_FILENAME']).'/');
38
39 $_GET['url'] = ltrim($_SERVER['PATH_INFO'],'/');
40
41 require ROOT.'public/dispatch.php';
b2ba766 @phpnut fixing my local working copy
phpnut authored
42 ?>
Something went wrong with that request. Please try again.