Skip to content
Snippets Groups Projects
Commit 8bd82b96 authored by Bartek Przybylski's avatar Bartek Przybylski
Browse files

checking for apache server in setup

parent e153fb79
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment