Deprecate constants IMAGES_URL, CSS_URL, JS_URL and add corresponding config values instead.

This commit is contained in:
ADmad 2013-07-31 12:57:15 +05:30
parent 48df85d80d
commit b22b39f158
7 changed files with 63 additions and 23 deletions

View file

@ -168,6 +168,10 @@ if (!defined('FULL_BASE_URL')) {
unset($httpHost, $s);
}
Configure::write('App.imagesURL', IMAGES_URL);
Configure::write('App.cssURL', CSS_URL);
Configure::write('App.jsURL', JS_URL);
App::$bootstrapping = true;
Configure::bootstrap(isset($boot) ? $boot : true);