+ // // + Copyright: (c) 2005, Cake Authors/Developers + // // + Author(s): Michal Tatarynowicz aka Pies + // // + Larry E. Masters aka PhpNut + // // + Kamil Dzielinski aka Brego + // // +------------------------------------------------------------------+ // // + Licensed under The MIT License + // // + Redistributions of files must retain the above copyright notice. + // // + See: http://www.opensource.org/licenses/mit-license.php + // ////////////////////////////////////////////////////////////////////////// /** * In this file you set paths to different directories used by Cake. * * @filesource * @author Cake Authors/Developers * @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', '../'); } /** * Path to the application directory. */ define ('APP', ROOT.'app'.DS); /** * Path to the application models directory. */ define ('MODELS', APP.'models'.DS); /** * Path to the application controllers directory. */ define ('CONTROLLERS', APP.'controllers'.DS); /** * Path to the application helpers directory. */ define ('HELPERS', APP.'helpers'.DS); /** * Path to the application views directory. */ define ('VIEWS', APP.'views'.DS); /** * Path to the configuration files directory. */ define ('CONFIGS', ROOT.'config'.DS); /** * Path to the libs directory. */ define ('LIBS', ROOT.'libs'.DS); /** * Path to the logs directory. */ define ('LOGS', ROOT.'logs'.DS); /** * Path to the modules directory. */ define ('MODULES', ROOT.'modules'.DS); /** * Path to the public directory. */ define ('PUBLIC', ROOT.'public'.DS); /** * Path to the tests directory. */ define ('TESTS', ROOT.'tests'.DS); /** * Path to the vendors directory. */ define ('VENDORS', ROOT.'vendors'.DS); /** * Path to the controller test directory. */ define ('CONTROLLER_TESTS',TESTS.'app'.DS.'controllers'.DS); /** * Path to the helpers test directory. */ define ('HELPER_TESTS', TESTS.'app'.DS.'helpers'.DS); /** * Path to the models test directory. */ define ('MODEL_TESTS', TESTS.'app'.DS.'models'.DS); /** * Path to the lib test directory. */ define ('LIB_TESTS', TESTS.'libs'.DS); ?>