checking for apache server in setup
This commit is contained in:
parent
e153fb79bb
commit
8bd82b96f3
|
@ -224,7 +224,9 @@ class OC_Setup {
|
||||||
OC_Installer::installShippedApps(true);
|
OC_Installer::installShippedApps(true);
|
||||||
|
|
||||||
//create htaccess files for apache hosts
|
//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
|
//and we are done
|
||||||
OC_Config::setValue('installed', true);
|
OC_Config::setValue('installed', true);
|
||||||
|
|
Loading…
Reference in New Issue