]> granicus.if.org Git - php/commitdiff
* remove track_errors ini fiddling, was a PHP bug that should be fixed now
authorStig Bakken <ssb@php.net>
Thu, 3 Apr 2003 23:05:25 +0000 (23:05 +0000)
committerStig Bakken <ssb@php.net>
Thu, 3 Apr 2003 23:05:25 +0000 (23:05 +0000)
pear/PEAR/Registry.php

index 050d54ca9d02c7d0f5aac5745ff3dcba12144dd5..5f304ab23db88c1373fe5a281f16ea38552d7288 100644 (file)
@@ -271,9 +271,7 @@ class PEAR_Registry extends PEAR
                 $open_mode = 'r';
             }
 
-            @ini_set('track_errors', true);
             $this->lock_fp = @fopen($this->lockfile, $open_mode);
-            @ini_restore('track_errors');
 
             if (!is_resource($this->lock_fp)) {
                 return $this->raiseError("could not create lock file" .
@@ -689,4 +687,4 @@ class PEAR_Registry extends PEAR
     // }}}
 }
 
-?>
\ No newline at end of file
+?>