1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12775] Set defined_vars as a property of config_php_file

PHPBB3-12775
This commit is contained in:
Tristan Darricau
2014-06-30 01:01:48 +02:00
parent 35c0b6d77a
commit 8c0d179e3e

View File

@@ -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);