diff --git a/lib/pChart/pChart.class b/lib/pChart/pChart.class index 147226c0..6b59db99 100644 --- a/lib/pChart/pChart.class +++ b/lib/pChart/pChart.class @@ -298,7 +298,7 @@ $buffer = fgets($handle, 4096); $buffer = str_replace(chr(10),"",$buffer); $buffer = str_replace(chr(13),"",$buffer); - $Values = split($Delimiter,$buffer); + $Values = explode($Delimiter,$buffer); if ( count($Values) == 3 ) { $this->Palette[$ColorID]["R"] = $Values[0]; @@ -3384,7 +3384,7 @@ { /* Strip HTML query strings */ $Values = $this->tmpFolder.$MapName; - $Value = split("\?",$Values); + $Value = explode("?",$Values); $FileName = $Value[0]; if ( file_exists($FileName) ) diff --git a/lib/pChart/pData.class b/lib/pChart/pData.class index 7061e850..d737a607 100644 --- a/lib/pChart/pData.class +++ b/lib/pChart/pData.class @@ -72,7 +72,7 @@ $buffer = fgets($handle, 4096); $buffer = str_replace(chr(10),"",$buffer); $buffer = str_replace(chr(13),"",$buffer); - $Values = split($Delimiter,$buffer); + $Values = explode($Delimiter,$buffer); if ( $buffer != "" ) {