Better error message for having problems while including files. (using language entry for it now)

This commit is contained in:
Grischa Brockhaus 2009-06-02 12:49:26 +00:00
parent 8b113a9c61
commit 0e9e096f9d

View File

@ -283,7 +283,7 @@ function serendipity_parseTemplate($filename, $areas = null, $onlyFlags=null) {
$config = @include($filename);
if (! is_array($config)) {
echo "<b>Error reading: " . $filename . "</b><br/>Perhaps the Webserver can't access the file?<br/>";
printf(INCLUDE_ERROR,$filename);
}
foreach ( $config as $n => $category ) {