This commit is contained in:
parent
09703698ec
commit
eac36d3e32
1 changed files with 6 additions and 2 deletions
|
@ -19,13 +19,17 @@ function wikiIsOnServer($path)
|
|||
return false;
|
||||
}
|
||||
|
||||
$re = '#/home/(.*)/#mU';
|
||||
$str = '/home/civamgardfr/civamgard.fr/';
|
||||
preg_match_all('#/home/(.*)/#mU', '/home/civamgardfr/civamgard.fr/', $user, PREG_SET_ORDER, 0);
|
||||
|
||||
$wakkaConfig = [];
|
||||
include_once($configFile);
|
||||
return [
|
||||
'path' => str_replace('wakka.config.php', '', $configFile),
|
||||
'config' => $wakkaConfig,
|
||||
'user' => $path,
|
||||
'group' => $path,
|
||||
'user' => $user[0][1],
|
||||
'group' => $user[0][1],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue