GNU social config paths, removed StatusNet/Laconica
This commit is contained in:
parent
17a65ff873
commit
2f836e2a59
|
@ -383,15 +383,11 @@ class GNUsocial
|
||||||
if (isset($conffile)) {
|
if (isset($conffile)) {
|
||||||
$config_files = array($conffile);
|
$config_files = array($conffile);
|
||||||
} else {
|
} else {
|
||||||
$config_files = array('/etc/statusnet/statusnet.php',
|
$config_files = array('/etc/gnusocial/config.php',
|
||||||
'/etc/statusnet/laconica.php',
|
'/etc/gnusocial/config.d/'.$_server.'.php');
|
||||||
'/etc/laconica/laconica.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/gnusocial/config.d/'.$_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