mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12775] Set defined_vars as a property of config_php_file
PHPBB3-12775
This commit is contained in:
parent
35c0b6d77a
commit
8c0d179e3e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue