Update to PEAR 1.7.2, Image_Canvas 0.3.1, Image_Color 1.0.3, Image_Graph 0.7.2, XML_Parser 1.3.1.
Removed PHP_Compat, and references to it. Removed ionCube/Zend/mmCache compatibility checks in test.php script. Changed minimum PHP requirement to 5.0 in test.php script.
This commit is contained in:
@@ -94,7 +94,6 @@ class module
|
||||
global $C_auth;
|
||||
if(!$C_auth->auth_method_by_name("module","upgrade")) return false;
|
||||
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
if(is_file(PATH_AGILE.'Version.txt'))
|
||||
$f['version']=trim(file_get_contents(PATH_AGILE.'Version.txt'));
|
||||
else
|
||||
@@ -114,9 +113,6 @@ class module
|
||||
### Get remote hash file and check for inconsitancys in local files
|
||||
function remote_update($VAR)
|
||||
{
|
||||
## Load file_get_contents function for older versions:
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
|
||||
$ver = $VAR['ver'];
|
||||
$mis=0;
|
||||
$md5=0;
|
||||
@@ -1521,4 +1517,4 @@ class module
|
||||
fclose($file);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user