mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Applying patch of ticket #2263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4633 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
dba900eb30
commit
0ae88d6234
1 changed files with 2 additions and 2 deletions
|
@ -73,14 +73,14 @@
|
|||
define('APP_DIR', $appdir);
|
||||
define('APP_PATH', ROOT.DS.APP_DIR.DS);
|
||||
// TODO: how to handle situation with a non-standard webroot setup?
|
||||
define('WWW_ROOT', APP_PATH.DS.'webroot'.DS);
|
||||
define('WWW_ROOT', APP_PATH.'webroot'.DS);
|
||||
}
|
||||
|
||||
function defineAppConstantsWithDefaultValues() {
|
||||
define('ROOT', CORE_PATH);
|
||||
define('APP_DIR', 'app');
|
||||
define('APP_PATH', ROOT.DS.APP_DIR.DS);
|
||||
define('WWW_ROOT', APP_PATH.DS.'webroot'.DS);
|
||||
define('WWW_ROOT', APP_PATH.'webroot'.DS);
|
||||
}
|
||||
|
||||
function defineConstants() {
|
||||
|
|
Loading…
Add table
Reference in a new issue