checking for apache server in setup
This commit is contained in:
parent
e153fb79bb
commit
8bd82b96f3
1 changed files with 3 additions and 1 deletions
|
@ -224,7 +224,9 @@ class OC_Setup {
|
|||
OC_Installer::installShippedApps(true);
|
||||
|
||||
//create htaccess files for apache hosts
|
||||
self::createHtaccess(); //TODO detect if apache is used
|
||||
if (strstr($_SERVER['SERVER_SOFTWARE'], 'Apache')) {
|
||||
self::createHtaccess();
|
||||
}
|
||||
|
||||
//and we are done
|
||||
OC_Config::setValue('installed', true);
|
||||
|
|
Loading…
Reference in a new issue