]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add back in /etc/laconica/* for compatibility
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 26 Aug 2009 14:34:50 +0000 (10:34 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 26 Aug 2009 14:34:50 +0000 (10:34 -0400)
lib/common.php

index 9a5d33e65864803ad3bacf68bc4d35d174dc2474..e658eaeb235cf1b59d995bfc8b414767aa0d1a5a 100644 (file)
@@ -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';