mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix warning when FULL_BASE_URL is unknown. fixes #5683
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7804 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
25ec40600c
commit
2d5773be6b
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ class Router extends Object {
|
|||
}
|
||||
$output = str_replace('//', '/', $output);
|
||||
}
|
||||
if ($full) {
|
||||
if ($full && defined('FULL_BASE_URL')) {
|
||||
$output = FULL_BASE_URL . $output;
|
||||
}
|
||||
if (!empty($extension) && substr($output, -1) === '/') {
|
||||
|
|
Loading…
Reference in a new issue