tbrehm
2010-10-06 e1cfe776605df96751b661e82dc09b51c635d67f
server/plugins-available/apache2_plugin.inc.php
@@ -927,7 +927,7 @@
      $web_config = $app->getconf->get_server_config($conf["server_id"], 'web');
      //* Check if this is a chrooted setup
      if($web_config['website_basedir'] != '' && @is_file($web_config['/var/www'].'/etc/passwd')) {
      if($web_config['website_basedir'] != '' && @is_file($web_config['website_basedir'].'/etc/passwd')) {
         $apache_chrooted = true;
      } else {
         $apache_chrooted = false;
@@ -1246,7 +1246,8 @@
            /*
             * add all the webdav-dirs to the webdav-section
            */
            $files = scandir($webdavRoot);
            $files = @scandir($webdavRoot);
            if(is_array($files)) {
            foreach($files as $file) {
               if (substr($file, strlen($file) - strlen('.htdigest')) == '.htdigest') {
                  /*
@@ -1267,6 +1268,7 @@
                  $output .= "      </Location> \n";
               }
            }
            }
         }
         /*
          *  is the "replace-comment-end" found...