mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
[ticket/12775] Use a field instead of a local var in load_config_var()
PHPBB3-12775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user