checking for apache server in setup

This commit is contained in:
Bartek Przybylski 2011-08-08 21:41:20 +02:00
parent e153fb79bb
commit 8bd82b96f3

View file

@ -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);