diff --git a/include/functions_installer.inc.php b/include/functions_installer.inc.php index 3b7cb14e..c975296c 100644 --- a/include/functions_installer.inc.php +++ b/include/functions_installer.inc.php @@ -282,6 +282,9 @@ function serendipity_parseTemplate($filename, $areas = null, $onlyFlags=null) { } $config = @include($filename); + if (! is_array($config)) { + echo "Error reading: " . $filename . "
Perhaps the Webserver can't access the file?
"; + } foreach ( $config as $n => $category ) { /* If $areas is an array, we filter out those categories, not within the array */