Better error message for having problems while including files. (using language entry for it now)
This commit is contained in:
parent
8b113a9c61
commit
0e9e096f9d
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user