Removed error message from the _read_file() method.

This commit is contained in:
andrey
2001-12-10 15:10:00 +00:00
parent 80c1085e59
commit 0e927f0045
3 changed files with 6 additions and 5 deletions

5
NEWS
View File

@@ -1,6 +1,9 @@
- removed error message from the generic _read_file() method, the caller
should take care of that. (Andrei)
- fixed a bug with incorrectly combined cache and compile id. (Andrei)
Version 1.5.0
-------------
- added include_php built-in function, documented. (Monte)
- added trusted_dir functionality, documented. (Monte)
- consolidated secure_dir tests to one function. (Monte)

View File

@@ -1185,7 +1185,6 @@ function _run_insert_handler($args)
function _read_file($filename, $start=null, $lines=null)
{
if (!($fd = @fopen($filename, 'r'))) {
$this->_trigger_error_msg("problem reading '$filename.'");
return false;
}
flock($fd, LOCK_SH);

View File

@@ -1185,7 +1185,6 @@ function _run_insert_handler($args)
function _read_file($filename, $start=null, $lines=null)
{
if (!($fd = @fopen($filename, 'r'))) {
$this->_trigger_error_msg("problem reading '$filename.'");
return false;
}
flock($fd, LOCK_SH);