diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 14:13:23 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 14:13:23 -0500 |
commit | 46dd9586f28923bea348fee75b1a665a80e3df5d (patch) | |
tree | 262127458fb2469b572deb23677a4ef91df98fe2 /etc/ecl.php | |
parent | 206f684d915fffb3900bb6537c037cbd3da257f8 (diff) | |
download | pfsense-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-x | etc/ecl.php | 2 |
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)) |