//// Merge -> revision 8290
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8295 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1128,9 +1128,10 @@ class AdminUpgrade extends AdminPreferences
|
||||
{
|
||||
static $apacheModuleList = null;
|
||||
|
||||
if (!is_array($apacheModuleList))
|
||||
if (!is_array($apacheModuleList) AND function_exists('apache_get_modules'))
|
||||
{
|
||||
$apacheModuleList = apache_get_modules();
|
||||
|
||||
}
|
||||
// we need strpos (example can be evasive20
|
||||
foreach($apacheModuleList as $module)
|
||||
if (strpos($name, $module)!==false)
|
||||
|
||||
Reference in New Issue
Block a user