mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
cc358c225e
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@122 3807eeeb-6ff5-0310-8944-8be069107fe0
123 lines
No EOL
3.4 KiB
PHP
123 lines
No EOL
3.4 KiB
PHP
<?PHP
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// + $Id$
|
|
// +------------------------------------------------------------------+ //
|
|
// + Cake <https://developers.nextco.com/cake/> + //
|
|
// + Copyright: (c) 2005 Cake Authors/Developers + //
|
|
// + + //
|
|
// + Author(s): Michal Tatarynowicz aka Pies <tatarynowicz@gmail.com> + //
|
|
// + Larry E. Masters aka PhpNut <nut@phpnut.com> + //
|
|
// + Kamil Dzielinski aka Brego <brego.dk@gmail.com> + //
|
|
// + + //
|
|
// +------------------------------------------------------------------+ //
|
|
// + Licensed under The MIT License + //
|
|
// + Redistributions of files must retain the above copyright notice. + //
|
|
// + You may not use this file except in compliance with the License. + //
|
|
// + + //
|
|
// + You may obtain a copy of the License at: + //
|
|
// + License page: http://www.opensource.org/licenses/mit-license.php + //
|
|
// +------------------------------------------------------------------+ //
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
/**
|
|
* Purpose: Paths
|
|
* Enter description here...
|
|
*
|
|
* @filesource
|
|
* @author Michal Tatarynowicz <tatarynowicz@gmail.com>
|
|
* @author Larry E. Masters aka PhpNut <nut@phpnut.com>
|
|
* @author Kamil Dzielinski aka Brego <brego.dk@gmail.com>
|
|
* @copyright Copyright (c) 2005, Cake Authors/Developers
|
|
* @link https://developers.nextco.com/cake/wiki/Authors Authors/Developers
|
|
* @package cake
|
|
* @subpackage cake.config
|
|
* @since Cake v 0.2.9
|
|
* @version $Revision$
|
|
* @modifiedby $LastChangedBy$
|
|
* @lastmodified $Date$
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* If index.php file is used instead of an .htaccess file
|
|
* or if user can not set the web root to use the public
|
|
* directory we will define ROOT there otherwise we set it
|
|
* here
|
|
*
|
|
*/
|
|
if( !defined('ROOT') ){
|
|
define ('ROOT', '../');
|
|
}
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('APP', ROOT.'app/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('MODELS', APP.'models/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('CONTROLLERS', APP.'controllers/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('HELPERS', APP.'helpers/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('VIEWS', APP.'views/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('CONFIGS', ROOT.'config/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('LIBS', ROOT.'libs/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('PUBLIC', ROOT.'public/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('TESTS', ROOT.'tests/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('VENDORS', ROOT.'vendors/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('CONTROLLER_TESTS',TESTS.'app/controllers/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('HELPER_TESTS', TESTS.'app/helpers/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('MODEL_TESTS', TESTS.'app/models/');
|
|
/**
|
|
* Enter description here...
|
|
*
|
|
*/
|
|
define ('LIB_TESTS', TESTS.'libs/')
|
|
|
|
?>
|