From 4d7985929154723b60d882ce747a9bb8edf3fc33 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Thu, 3 Apr 2003 23:05:25 +0000 Subject: [PATCH] * remove track_errors ini fiddling, was a PHP bug that should be fixed now --- pear/PEAR/Registry.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pear/PEAR/Registry.php b/pear/PEAR/Registry.php index 050d54ca9d..5f304ab23d 100644 --- a/pear/PEAR/Registry.php +++ b/pear/PEAR/Registry.php @@ -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 +?> -- 2.50.1