summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-01-28 18:29:37 +0000
committerZeev Suraski <zeev@php.net>2000-01-28 18:29:37 +0000
commit99f079a3495f8b909d2f79c3c67b88f89e316f49 (patch)
treec8bc111e4c40457fd18a7d6efa2b8e54a5f11b36 /main/php_variables.c
parentab16816eb8ab4efd6b547ca68d6db2d530c15cda (diff)
downloadphp-git-99f079a3495f8b909d2f79c3c67b88f89e316f49.tar.gz
- A few fixes
- Added register_argv_argc directive to allow disabling of argv/argc
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index b4355b4ee8..383442ab66 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -40,7 +40,7 @@ PHPAPI void php_register_variable(char *val, char *var, pval *track_vars_array E
HashTable *symtable1=NULL;
HashTable *symtable2=NULL;
- if (PG(gpc_globals)) {
+ if (PG(register_globals)) {
symtable1 = EG(active_symbol_table);
}
if (track_vars_array) {