1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

Fixed bug #36809 (__FILE__ behavior changed)

This commit is contained in:
Dmitry Stogov
2006-03-21 08:49:58 +00:00
parent 0fb7618d6e
commit 79c653ab98
+1
View File
@@ -1831,6 +1831,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
if (VCWD_REALPATH(primary_file->filename, realfile)) {
realfile_len = strlen(realfile);
zend_hash_add(&EG(included_files), realfile, realfile_len+1, (void *)&dummy, sizeof(int), NULL);
primary_file->opened_path = estrndup(realfile, realfile_len);
}
}