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:
@@ -744,7 +744,6 @@ class Level_Base {
|
||||
*/
|
||||
function addFieldCriteria($sql, $bIsAggregate = false, $field = '')
|
||||
{
|
||||
require_once PATH_INCLUDES . 'pear/Compat/Function/stripos.php';
|
||||
$this->lev_setting['SQL_criteria'] =
|
||||
$this->addToFilter($this->lev_setting['SQL_criteria'],
|
||||
$sql, $bIsAggregate);
|
||||
@@ -870,7 +869,6 @@ class Level_Base {
|
||||
|
||||
function find_next_sql_keyword($sql,$offset=0)
|
||||
{
|
||||
require_once PATH_INCLUDES . 'pear/Compat/Function/stripos.php';
|
||||
$ret = false;
|
||||
if(is_string($sql) && is_numeric($offset)) {
|
||||
$arr = array(
|
||||
@@ -898,7 +896,6 @@ class Level_Base {
|
||||
|
||||
function shuffleSQL($sql, $groupBy='')
|
||||
{
|
||||
require_once PATH_INCLUDES . 'pear/Compat/Function/stripos.php';
|
||||
if( ($p=stripos($sql,'HAVING')) !== false) {
|
||||
# found a having clause
|
||||
$leading = '';
|
||||
@@ -1057,4 +1054,4 @@ class Level_Base {
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user