Explorar el Código

Fixed Trac #278: better detection of all PHP mandatory modules.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@897 a333f486-631f-4898-b8df-5754b55c2be0
dflaven hace 14 años
padre
commit
8f901d448a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      setup/index.php

+ 1 - 1
setup/index.php

@@ -166,7 +166,7 @@ function CheckPHPVersion(SetupWebPage $oP)
 		$oP->error("Error: The current PHP Version (".phpversion().") is lower than the minimum required version (".PHP_MIN_VERSION.")");
 		return false;
 	}
-	$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap');
+	$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap', 'hash', 'json', 'session', 'pcre');
 	$aOptionalExtensions = array('mcrypt' => 'Strong encryption will not be used.',
 								 'ldap' => 'LDAP authentication will be disabled.');
 	asort($aMandatoryExtensions); // Sort the list to look clean !