diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-27 23:29:43 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-07 01:02:26 +0200 |
commit | c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab (patch) | |
tree | 846758903a0efa117aa676198734e60b6c4ac2c3 /phpBB | |
parent | 91ca12f20ec0901a02222a83abd18df7efa84d81 (diff) | |
download | forums-c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab.tar forums-c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab.tar.gz forums-c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab.tar.bz2 forums-c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab.tar.xz forums-c87f44c6692c55adb3ce5bc5b7bca8da7b1357ab.zip |
[ticket/12775] Use a field instead of a local var in load_config_var()
PHPBB3-12775
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/config_php.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/config_php.php b/phpBB/phpbb/config_php.php index 31a84662fa..8191023437 100644 --- a/phpBB/phpbb/config_php.php +++ b/phpBB/phpbb/config_php.php @@ -108,11 +108,11 @@ class config_php { if (file_exists($this->config_file)) { - $defined_vars = null; - $defined_vars = get_defined_vars(); + $this->defined_vars = null; + $this->defined_vars = get_defined_vars(); require($this->config_file); - $this->config_data = array_diff_key(get_defined_vars(), $defined_vars); + $this->config_data = array_diff_key(get_defined_vars(), $this->defined_vars); $this->config_loaded = true; } |