From 9f9c103c6f8d54a37d3e5912f5cd1fcff739a850 Mon Sep 17 00:00:00 2001 From: euromark Date: Tue, 11 Jun 2013 00:06:27 +0200 Subject: [PATCH] fix absolute url generation --- lib/Cake/bootstrap.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/bootstrap.php b/lib/Cake/bootstrap.php index c9fd04d80..be2697abf 100644 --- a/lib/Cake/bootstrap.php +++ b/lib/Cake/bootstrap.php @@ -150,6 +150,10 @@ App::uses('Cache', 'Cache'); App::uses('Object', 'Core'); App::uses('Multibyte', 'I18n'); +App::$bootstrapping = true; + +Configure::bootstrap(isset($boot) ? $boot : true); + /** * Full URL prefix */ @@ -168,10 +172,6 @@ if (!defined('FULL_BASE_URL')) { unset($httpHost, $s); } -App::$bootstrapping = true; - -Configure::bootstrap(isset($boot) ? $boot : true); - if (function_exists('mb_internal_encoding')) { $encoding = Configure::read('App.encoding'); if (!empty($encoding)) {