This commit is contained in:
parent
2336c2a00e
commit
b8788b4c96
2 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,8 @@ function domainIsOnServer($domain)
|
|||
|
||||
function wikiIsOnServer($path)
|
||||
{
|
||||
return glob('/home/*/'.$path.'/wakka.config.php');
|
||||
$configFile = glob('/home/*/'.$path.'/wakka.config.php')[0] ?? false;
|
||||
return $configFile;
|
||||
}
|
||||
|
||||
function checkIP($domain, $withWww = false, $noip6 = false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue