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:
@@ -154,7 +154,6 @@ class email_piping
|
||||
$filecontent = imap_fetchbody($mbox,$msg,$file+2);
|
||||
if(empty($filecontent)) return false;
|
||||
$tmp = PATH_FILES.'/'. md5('piping'.$filename.microtime());
|
||||
require_once('includes/pear/Compat/Function/file_put_contents.php');
|
||||
file_put_contents($tmp,$filecontent);
|
||||
$this->attachments[$msg][] = Array('tmp'=>$tmp, 'file'=>$filename, 'type'=> $filetype);
|
||||
}
|
||||
@@ -267,4 +266,4 @@ class email_piping
|
||||
return string;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@@ -62,7 +62,6 @@ class CORE_import
|
||||
}
|
||||
|
||||
# open the file for parsing
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
$data = file_get_contents($this->file);
|
||||
$rows = explode("\r\n", $data);
|
||||
|
||||
@@ -142,7 +141,6 @@ class CORE_import
|
||||
{
|
||||
global $C_debug;
|
||||
$this->file = PATH_FILES.$VAR['file'];
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
$data = file_get_contents($this->file);
|
||||
$rows = explode("\r\n", $data);
|
||||
|
||||
@@ -242,7 +240,6 @@ class CORE_import
|
||||
{
|
||||
global $C_debug;
|
||||
$this->file = PATH_FILES.$VAR['file'];
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
$data = file_get_contents($this->file);
|
||||
$rows = explode("\r\n", $data);
|
||||
|
||||
@@ -342,4 +339,4 @@ class CORE_import
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@@ -34,7 +34,6 @@ $fp = fopen('http://agileco.com/Version.txt', "r");
|
||||
$abv = fread($fp, 255);
|
||||
fclose($fp);
|
||||
# get encoding version
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
$tmp = file_get_contents(PATH_AGILE.'index.php');
|
||||
|
||||
if(eregi('ioncube', $tmp))
|
||||
@@ -73,4 +72,4 @@ $smarty->assign('version',$ver);
|
||||
$smarty->assign('ab_version',$abv);
|
||||
$smarty->assign('encoding_version',$enc);
|
||||
$smarty->assign('modules',@$module_arr);
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user