summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index a2a622763c..2e6f8a2d34 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1116,7 +1116,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_
prepend_file_p = NULL;
}
if (PG(auto_append_file) && PG(auto_append_file)[0] &&
- strncmp(PG(auto_prepend_file), "none", 4) != 0) {
+ strncmp(PG(auto_append_file), "none", 4) != 0) {
append_file.filename = PG(auto_append_file);
append_file.free_filename = 0;
append_file.type = ZEND_HANDLE_FILENAME;