diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-08-08 21:41:20 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-08-08 21:41:20 +0200 |
commit | 8bd82b96f3d9d2c6c8ec02922e2437c6cea02ff4 (patch) | |
tree | d507d402184efb11b70785bb697d0042b5a6bfa0 /lib | |
parent | e153fb79bbfb74a832d1d6c4bdd4997f37923df5 (diff) | |
download | nextcloud-server-8bd82b96f3d9d2c6c8ec02922e2437c6cea02ff4.tar.gz nextcloud-server-8bd82b96f3d9d2c6c8ec02922e2437c6cea02ff4.zip |
checking for apache server in setup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php index f87581d7582..04a65d01265 100644 --- a/lib/setup.php +++ b/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); |