summaryrefslogtreecommitdiffstats
path: root/config/appconfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/appconfig.php')
-rw-r--r--config/appconfig.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/appconfig.php b/config/appconfig.php
index bef117da9..21e406e36 100644
--- a/config/appconfig.php
+++ b/config/appconfig.php
@@ -59,8 +59,7 @@ class AppConfig {
if(is_array($data)) {
$this->config = $data;
} else {
- $xml = file_get_contents($data);
- $this->config = $this->parseConfig($xml);
+ $this->config = $this->parseConfig($data);
}
}