From a15860c8b9072975635a8a65a1ed3f6b57d5cb4b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 14 Oct 2010 13:57:12 -0400
Subject: [PATCH] Updated dutch language files.
---
server/plugins-available/apache2_plugin.inc.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 80d6849..87bf377 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/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...
--
Gitblit v1.9.1