checking for apache server in setup

remotes/origin/stable
Bartek Przybylski 14 years ago
parent e153fb79bb
commit 8bd82b96f3
  1. 4
      lib/setup.php

@ -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…
Cancel
Save