2005-06-23 14:13:50 +00:00
|
|
|
<?php
|
2005-08-21 06:49:02 +00:00
|
|
|
/* SVN FILE: $Id$ */
|
2005-05-15 21:41:38 +00:00
|
|
|
|
|
|
|
/**
|
2006-01-17 05:13:38 +00:00
|
|
|
* Short description for file.
|
2005-12-23 21:57:26 +00:00
|
|
|
*
|
2005-08-21 06:49:02 +00:00
|
|
|
* Long description for file
|
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
|
|
|
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
|
2005-12-27 03:33:44 +00:00
|
|
|
* Copyright (c) 2005, Cake Software Foundation, Inc.
|
2005-12-23 21:57:26 +00:00
|
|
|
* 1785 E. Sahara Avenue, Suite 490-204
|
|
|
|
* Las Vegas, Nevada 89104
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
2005-12-23 21:57:26 +00:00
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
2005-12-23 21:57:26 +00:00
|
|
|
* @filesource
|
|
|
|
* @copyright Copyright (c) 2005, Cake Software Foundation, Inc.
|
|
|
|
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
|
2005-08-21 06:49:02 +00:00
|
|
|
* @package cake
|
2005-10-09 01:56:21 +00:00
|
|
|
* @subpackage cake.cake.app.webroot
|
2005-08-21 06:49:02 +00:00
|
|
|
* @since CakePHP v 0.2.9
|
|
|
|
* @version $Revision$
|
|
|
|
* @modifiedby $LastChangedBy$
|
2005-05-22 23:24:09 +00:00
|
|
|
* @lastmodified $Date$
|
2005-08-21 06:49:02 +00:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
2005-05-22 23:24:09 +00:00
|
|
|
*/
|
|
|
|
|
2005-08-21 06:49:02 +00:00
|
|
|
|
2005-05-22 23:24:09 +00:00
|
|
|
/**
|
2005-06-14 19:57:01 +00:00
|
|
|
* Get Cake's root directory
|
|
|
|
*/
|
2005-06-05 19:42:54 +00:00
|
|
|
if (!defined('DS'))
|
2005-06-21 23:44:49 +00:00
|
|
|
{
|
2005-07-10 05:08:19 +00:00
|
|
|
define('DS', DIRECTORY_SEPARATOR);
|
2005-06-21 23:44:49 +00:00
|
|
|
}
|
2005-06-05 19:42:54 +00:00
|
|
|
|
|
|
|
if (!defined('ROOT'))
|
2005-06-21 23:44:49 +00:00
|
|
|
{
|
2005-12-22 01:17:03 +00:00
|
|
|
define('ROOT', dirname(dirname(dirname(__FILE__))).DS);
|
2005-06-21 23:44:49 +00:00
|
|
|
}
|
2005-05-15 21:41:38 +00:00
|
|
|
|
2005-10-03 04:48:00 +00:00
|
|
|
if (!defined('APP_DIR'))
|
|
|
|
{
|
|
|
|
define ('APP_DIR', basename(dirname(dirname(__FILE__))));
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!defined('WEBROOT_DIR'))
|
|
|
|
{
|
|
|
|
define ('WEBROOT_DIR', basename(dirname(__FILE__)));
|
|
|
|
}
|
2006-01-17 05:13:38 +00:00
|
|
|
require_once ROOT.'cake'.DS.'bootstrap.php';
|
2005-09-17 02:22:07 +00:00
|
|
|
?>
|