summaryrefslogtreecommitdiffstats
path: root/etc/ecl.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-28 14:13:23 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-28 14:13:23 -0500
commit46dd9586f28923bea348fee75b1a665a80e3df5d (patch)
tree262127458fb2469b572deb23677a4ef91df98fe2 /etc/ecl.php
parent206f684d915fffb3900bb6537c037cbd3da257f8 (diff)
downloadpfsense-46dd9586f28923bea348fee75b1a665a80e3df5d.zip
pfsense-46dd9586f28923bea348fee75b1a665a80e3df5d.tar.gz
Only check / and /config for config.xml. Otherwise you might step on a nanobsd installation.
Diffstat (limited to 'etc/ecl.php')
-rwxr-xr-xetc/ecl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ecl.php b/etc/ecl.php
index f55b615..a7d5ce4 100755
--- a/etc/ecl.php
+++ b/etc/ecl.php
@@ -80,7 +80,7 @@ function find_config_xml() {
function discover_config($mountpoint) {
global $g;
- $locations_to_check = array("/", "/conf", "/conf.default", "/config");
+ $locations_to_check = array("/", "/config");
foreach($locations_to_check as $ltc) {
$tocheck = "{$mountpoint}{$ltc}/config.xml";
if(file_exists($tocheck))
OpenPOWER on IntegriCloud