Browse Source

- Forgotten patch for trunk

- Fixed stdin filename in error messages
PHP-5.2.1RC1
Dmitry Stogov 17 years ago
parent
commit
f79bc0ac21
  1. 1
      main/main.c

1
main/main.c

@ -1994,6 +1994,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
* otherwise it will get opened and added to the included_files list in zend_execute_scripts
*/
if (primary_file->filename &&
(primary_file->filename[0] != '-' || primary_file->filename[1] != 0) &&
primary_file->opened_path == NULL &&
primary_file->type != ZEND_HANDLE_FILENAME
) {

Loading…
Cancel
Save