mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
updating paths.php to all app to define certain paths, closes #2742
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6233 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
7104e40b62
commit
535bbd8234
1 changed files with 12 additions and 0 deletions
|
@ -111,7 +111,9 @@
|
|||
/**
|
||||
* Path to the tests directory.
|
||||
*/
|
||||
if (!defined('TESTS')) {
|
||||
define ('TESTS', APP.'tests'.DS);
|
||||
}
|
||||
/**
|
||||
* Path to the controller test directory.
|
||||
*/
|
||||
|
@ -135,7 +137,9 @@
|
|||
/**
|
||||
* Path to the temporary files directory.
|
||||
*/
|
||||
if (!defined('TMP')) {
|
||||
define ('TMP', APP.'tmp'.DS);
|
||||
}
|
||||
/**
|
||||
* Path to the logs directory.
|
||||
*/
|
||||
|
@ -147,7 +151,9 @@
|
|||
/**
|
||||
* Path to the vendors directory.
|
||||
*/
|
||||
if (!defined('VENDORS')) {
|
||||
define ('VENDORS', CAKE_CORE_INCLUDE_PATH.DS.'vendors'.DS);
|
||||
}
|
||||
/**
|
||||
* Path to the Pear directory
|
||||
* The purporse is to make it easy porting Pear libs into Cake
|
||||
|
@ -171,13 +177,19 @@
|
|||
/**
|
||||
* Web path to the public images directory.
|
||||
*/
|
||||
if (!defined('IMAGES_URL')) {
|
||||
define ('IMAGES_URL', 'img/');
|
||||
}
|
||||
/**
|
||||
* Web path to the CSS files directory.
|
||||
*/
|
||||
if (!defined('CSS_URL')) {
|
||||
define ('CSS_URL', 'css/');
|
||||
}
|
||||
/**
|
||||
* Web path to the js files directory.
|
||||
*/
|
||||
if (!defined('JS_URL')) {
|
||||
define ('JS_URL', 'js/');
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue