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:
@@ -704,7 +704,6 @@ class invoice
|
||||
|
||||
# echo the custom tracking code to the screen:
|
||||
if(!is_file(PATH_FILES.'tracking.txt')) return false;
|
||||
require_once('includes/pear/Compat/Function/file_get_contents.php');
|
||||
$tracking = file_get_contents(PATH_FILES.'tracking.txt');
|
||||
$tracking = ereg_replace('%%amount%%', "$total_amount", $tracking);
|
||||
$tracking = ereg_replace('%%invoice%%', $invoice, $tracking);
|
||||
@@ -4373,4 +4372,4 @@ class invoice
|
||||
$this->limit = $construct["construct"]["limit"];
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user