- Forgotten patch for trunk

- Fixed stdin filename in error messages
This commit is contained in:
Dmitry Stogov 2009-12-08 10:16:38 +00:00
parent 0e218d3512
commit 76c445dd73

View file

@ -2191,6 +2191,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
) {