summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sanity_check.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 363c22661..65edbe905 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -100,6 +100,10 @@
$err_msg = "config: DEFAULT_UPDATE_METHOD should be either 0 or 1.";
}
+ if (!is_writable(ICONS_DIR)) {
+ $err_msg = "config: your ICONS_DIR (" . ICONS_DIR . ") is not writable.\n";
+ }
+
if ($err_msg) {
print "<b>Fatal Error</b>: $err_msg\n";
exit;