allow command line based installation/setup

This commit is contained in:
Thomas Mueller 2012-07-13 13:25:43 +02:00
parent f496a9dea6
commit 967c6d7d3c
1 changed files with 1 additions and 1 deletions

View File

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