Closed mwoelk closed 7 years ago
JURI::root(true) can return an empty string which results in $path not being absolute and the config file not being imported.
JURI::root(true)
$path
Fixed by checking JURI::root(true) for an empty string. If that's the case it suffices to simply prepend JPATH_SITE to the path.
JURI::root(true)
can return an empty string which results in$path
not being absolute and the config file not being imported.Fixed by checking
JURI::root(true)
for an empty string. If that's the case it suffices to simply prepend JPATH_SITE to the path.