From 434abed511faa045c506c75443895b7e4ce7ff3f Mon Sep 17 00:00:00 2001
From: Evan Prodromou <evan@controlyourself.ca>
Date: Wed, 26 Aug 2009 10:34:50 -0400
Subject: [PATCH] add back in /etc/laconica/* for compatibility

---
 lib/common.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/common.php b/lib/common.php
index 9a5d33e658..e658eaeb23 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';
-- 
2.39.5