mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Moved methods from e_menu_layout to e_layout.
This commit is contained in:
@@ -283,7 +283,7 @@ class e_jsmanager
|
||||
}
|
||||
$this->_dependence = null;
|
||||
|
||||
if($vis != 'auto')
|
||||
if($vis != 'auto') // TODO FIX ME - should it be in the loop above?
|
||||
{
|
||||
$this->checkLibDependence(null, $core);
|
||||
}
|
||||
@@ -1720,7 +1720,7 @@ class e_jsmanager
|
||||
// resolve relative paths
|
||||
for ($i = 0, $iMax = count($parts); $i < $iMax; $i +=1)
|
||||
{
|
||||
if ($parts[$i] === "..") // resolve ..
|
||||
if (isset($parts[$i]) && ($parts[$i] === "..")) // resolve ..
|
||||
{
|
||||
if ($i === 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user