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:
@@ -537,7 +537,6 @@ class ticket
|
||||
// insert any attachments
|
||||
if(!empty($arr['attach']) && is_array($arr['attach'])) {
|
||||
foreach($arr['attach'] as $attach) {
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
@$data = file_get_contents($attach['tmp']);
|
||||
if(!empty($data)) {
|
||||
// get file size
|
||||
@@ -2708,4 +2707,4 @@ class ticket
|
||||
$this->limit = $construct["construct"]["limit"];
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user