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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user