From: Stanislav Malyshev Date: Sun, 17 Sep 2000 08:58:39 +0000 (+0000) Subject: Set filename even on recursive include X-Git-Tag: php-4.0.3RC1~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2158bbfa7f8a716466edd8e9aaf91a5a078189b6;p=php Set filename even on recursive include --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 8a35037e2d..605980f7c3 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -113,6 +113,7 @@ ZEND_API char *zend_set_compiled_filename(char *new_compiled_filename) CLS_FETCH(); if (zend_hash_find(&CG(filenames_table), new_compiled_filename, length+1, (void **) &pp)==SUCCESS) { + CG(compiled_filename) = *pp; return *pp; } p = estrndup(new_compiled_filename, length);