summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php
index 9a5d33e65..e658eaeb2 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -342,11 +342,14 @@ if (isset($conffile)) {
$_config_files = array($conffile);
} else {
$_config_files = array('/etc/statusnet/statusnet.php',
+ '/etc/statusnet/laconica.php',
'/etc/laconica/laconica.php',
- '/etc/statusnet/'.$_server.'.php');
+ '/etc/statusnet/'.$_server.'.php',
+ '/etc/laconica/'.$_server.'.php');
if (strlen($_path) > 0) {
$_config_files[] = '/etc/statusnet/'.$_server.'_'.$_path.'.php';
+ $_config_files[] = '/etc/laconica/'.$_server.'_'.$_path.'.php';
}
$_config_files[] = INSTALLDIR.'/config.php';