forked from GNUsocial/gnu-social
add back in /etc/laconica/* for compatibility
This commit is contained in:
parent
379c80e26e
commit
434abed511
@ -342,11 +342,14 @@ if (isset($conffile)) {
|
|||||||
$_config_files = array($conffile);
|
$_config_files = array($conffile);
|
||||||
} else {
|
} else {
|
||||||
$_config_files = array('/etc/statusnet/statusnet.php',
|
$_config_files = array('/etc/statusnet/statusnet.php',
|
||||||
|
'/etc/statusnet/laconica.php',
|
||||||
'/etc/laconica/laconica.php',
|
'/etc/laconica/laconica.php',
|
||||||
'/etc/statusnet/'.$_server.'.php');
|
'/etc/statusnet/'.$_server.'.php',
|
||||||
|
'/etc/laconica/'.$_server.'.php');
|
||||||
|
|
||||||
if (strlen($_path) > 0) {
|
if (strlen($_path) > 0) {
|
||||||
$_config_files[] = '/etc/statusnet/'.$_server.'_'.$_path.'.php';
|
$_config_files[] = '/etc/statusnet/'.$_server.'_'.$_path.'.php';
|
||||||
|
$_config_files[] = '/etc/laconica/'.$_server.'_'.$_path.'.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
$_config_files[] = INSTALLDIR.'/config.php';
|
$_config_files[] = INSTALLDIR.'/config.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user