aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-30 01:01:48 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:44 +0200
commit8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36 (patch)
tree3fc35951d8984dc28bf37ad5ab1d76a104f9ad89
parent35c0b6d77ac1f42c1e76b7c15469b025cd50845e (diff)
downloadforums-8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36.tar
forums-8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36.tar.gz
forums-8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36.tar.bz2
forums-8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36.tar.xz
forums-8c0d179e3e43c6c9e2e8e95d26c1dbdb80c26f36.zip
[ticket/12775] Set defined_vars as a property of config_php_file
PHPBB3-12775
-rw-r--r--phpBB/phpbb/config_php_file.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/config_php_file.php b/phpBB/phpbb/config_php_file.php
index c0aa3567e6..1a562e470d 100644
--- a/phpBB/phpbb/config_php_file.php
+++ b/phpBB/phpbb/config_php_file.php
@@ -42,6 +42,8 @@ class config_php_file
*/
protected $config_file;
+ private $defined_vars;
+
/**
* Constructor
*
@@ -108,7 +110,6 @@ class config_php_file
{
if (file_exists($this->config_file))
{
- $this->defined_vars = null;
$this->defined_vars = get_defined_vars();
require($this->config_file);