diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-07-13 13:25:43 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-07-13 13:25:43 +0200 |
commit | 967c6d7d3cfeb2f504ddc4301b902b39377c45fb (patch) | |
tree | cdbb715e10f411e3819887846469ff11a964169b /lib | |
parent | f496a9dea69ec387eb6979916c2569dc4d81b47e (diff) | |
download | nextcloud-server-967c6d7d3cfeb2f504ddc4301b902b39377c45fb.tar.gz nextcloud-server-967c6d7d3cfeb2f504ddc4301b902b39377c45fb.zip |
allow command line based installation/setup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php index 2f73c486c9c..027c84db092 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -257,7 +257,7 @@ class OC_Setup { OC_Installer::installShippedApps(); //create htaccess files for apache hosts - if (strstr($_SERVER['SERVER_SOFTWARE'], 'Apache')) { + if (isset($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache')) { self::createHtaccess(); } |