1
0
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:
Cameron
2021-01-17 09:10:00 -08:00
parent d1bf1cfde8
commit 5c9e04373e
4 changed files with 318 additions and 351 deletions

View File

@@ -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)
{