mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fix absolute url generation
This commit is contained in:
parent
6ed85f2d5d
commit
9f9c103c6f
1 changed files with 4 additions and 4 deletions
|
@ -150,6 +150,10 @@ App::uses('Cache', 'Cache');
|
||||||
App::uses('Object', 'Core');
|
App::uses('Object', 'Core');
|
||||||
App::uses('Multibyte', 'I18n');
|
App::uses('Multibyte', 'I18n');
|
||||||
|
|
||||||
|
App::$bootstrapping = true;
|
||||||
|
|
||||||
|
Configure::bootstrap(isset($boot) ? $boot : true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Full URL prefix
|
* Full URL prefix
|
||||||
*/
|
*/
|
||||||
|
@ -168,10 +172,6 @@ if (!defined('FULL_BASE_URL')) {
|
||||||
unset($httpHost, $s);
|
unset($httpHost, $s);
|
||||||
}
|
}
|
||||||
|
|
||||||
App::$bootstrapping = true;
|
|
||||||
|
|
||||||
Configure::bootstrap(isset($boot) ? $boot : true);
|
|
||||||
|
|
||||||
if (function_exists('mb_internal_encoding')) {
|
if (function_exists('mb_internal_encoding')) {
|
||||||
$encoding = Configure::read('App.encoding');
|
$encoding = Configure::read('App.encoding');
|
||||||
if (!empty($encoding)) {
|
if (!empty($encoding)) {
|
||||||
|
|
Loading…
Reference in a new issue