\n";
- $this->_output .= "\n";
@@ -874,7 +871,7 @@ class fase4_rdf {
*/
function get_parser_id ($parser) {
// Default is zero
- $id = 0;
+ $id = '0';
// Is it a resource?
if (is_resource($parser)) {
@@ -1031,7 +1028,7 @@ class fase4_rdf {
// get_cache_update_time()
clearstatcache();
if($this->_use_dynamic_display == true) {
- $_rdf = @implode(' ', $this->_rdf_data()); // -> proxy
+ $_rdf = implode(' ', $this->_rdf_data()); // -> proxy
if(!$_rdf) {
$this->_throw_exception( $this->_remote_file.' is not available' );
}
@@ -1039,7 +1036,7 @@ class fase4_rdf {
$this->_update_cache( $_rdf );
$data = $this->_output;
} else {
- $_rdf = @implode(' ', $this->_rdf_data()); // -> proxy
+ $_rdf = implode(' ', $this->_rdf_data()); // -> proxy
if(!$_rdf) {
$this->_throw_exception( $this->_remote_file.' is not available' );
}
@@ -1054,7 +1051,7 @@ class fase4_rdf {
$this->_parse_xRDF( implode(' ', file($_cache_f)) );
$data = $this->_output;
} else {
- $data = @implode(' ', file($_cache_f));
+ $data = implode(' ', file($_cache_f));
}
}
return trim($data);
@@ -1078,8 +1075,7 @@ class fase4_rdf {
if($arr[0]=='') {
$path = '/';
}
- for($i = 0;$i<$c;$i++)
- {
+ for($i = '0';$i<$c;$i++) {
if($arr[$i]!='') {
$path .= $arr[$i].'/';
if(!@is_dir($path)) {
@@ -1297,7 +1293,7 @@ class fase4_rdf {
}
- for ( $i = 0; !feof ($fp) ; $i++)
+ for ( $i = '0'; !feof ($fp) ; $i++)
{
$usable_data[$i] = "";
$usable_data[$i] = fgets($fp,4096);
|