mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16346] More fixes
PHPBB3-16346
This commit is contained in:
@@ -42,8 +42,6 @@ class config_php_file
|
||||
*/
|
||||
protected $config_file;
|
||||
|
||||
private $defined_vars;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@@ -102,10 +100,10 @@ class config_php_file
|
||||
{
|
||||
if (!$this->config_loaded && file_exists($this->config_file))
|
||||
{
|
||||
$this->defined_vars = get_defined_vars();
|
||||
$defined_vars = get_defined_vars();
|
||||
|
||||
require($this->config_file);
|
||||
$this->config_data = array_diff_key(get_defined_vars(), $this->defined_vars);
|
||||
$this->config_data = array_diff_key(get_defined_vars(), $defined_vars);
|
||||
|
||||
$this->config_loaded = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user