tbrehm
2010-10-06 e1cfe776605df96751b661e82dc09b51c635d67f
Fixed PHP warning in webdav code of apache2_plugin.inc.php
1 files modified
4 ■■■ changed files
server/plugins-available/apache2_plugin.inc.php 4 ●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -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...