|
|
|
|
|
|
|
|
// Include file and merge config |
|
|
// Include file and merge config |
|
|
foreach ($configFiles as $file) { |
|
|
foreach ($configFiles as $file) { |
|
|
$filePointer = @fopen($file, 'r'); |
|
|
$filePointer = @fopen($file, 'r'); |
|
|
if($file === $this->configFilePath && $filePointer === false) { |
|
|
|
|
|
|
|
|
if($file === $this->configFilePath && |
|
|
|
|
|
$filePointer === false && |
|
|
|
|
|
@!file_exists($this->configFilePath)) { |
|
|
// Opening the main config might not be possible, e.g. if the wrong |
|
|
// Opening the main config might not be possible, e.g. if the wrong |
|
|
// permissions are set (likely on a new installation) |
|
|
// permissions are set (likely on a new installation) |
|
|
continue; |
|
|
continue; |