Update main.inc.php
fix travis
This commit is contained in:
parent
01ba32efbc
commit
f1ffae3ac5
@ -422,14 +422,14 @@ if (! empty($_SESSION["disablemodules"]))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set current modulepart
|
// Set current modulepart
|
||||||
$modulepart = explode("/",$_SERVER["PHP_SELF"]);
|
$modulepart = explode("/", $_SERVER["PHP_SELF"]);
|
||||||
if(is_array($modulepart) && count($modulepart)>0)
|
if(is_array($modulepart) && count($modulepart)>0)
|
||||||
{
|
{
|
||||||
foreach($conf->modules as $module)
|
foreach($conf->modules as $module)
|
||||||
{
|
{
|
||||||
if(in_array($module, $modulepart))
|
if(in_array($module, $modulepart))
|
||||||
{
|
{
|
||||||
$conf->modulepart=$module;
|
$conf->modulepart = $module;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user