mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-29 16:43:42 +00:00
Removed live_site and absolute_path legacy support from loadconfiguration
git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@8214 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
parent
51b8c59cf7
commit
f1292f4131
|
@ -245,13 +245,8 @@ class JSite extends JApplication
|
|||
* @param string The type of the configuration file
|
||||
* @since 1.5
|
||||
*/
|
||||
function loadConfiguration($file, $type = 'config')
|
||||
{
|
||||
function loadConfiguration($file, $type = 'config') {
|
||||
parent::loadConfiguration($file, $type);
|
||||
|
||||
$registry =& JFactory::getConfig();
|
||||
$registry->setValue('config.live_site', substr_replace(JURI::base(), '', -1, 1));
|
||||
$registry->setValue('config.absolute_path', JPATH_SITE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user