[php-blog-cvs] r2520 - trunk/include
A reliable, secure & extensible PHP blog | Not mainstream since 2002
Brought to you by:
garvinhicking,
jhermanns
From: brockhaus at B. <bro...@ma...> - 2009-06-02 13:23:17
|
Author: brockhaus Date: 2009-06-02 14:49:26 +0200 (Tue, 02 Jun 2009) New Revision: 2520 Modified: trunk/include/functions_installer.inc.php Log: Better error message for having problems while including files. (using language entry for it now) Modified: trunk/include/functions_installer.inc.php =================================================================== --- trunk/include/functions_installer.inc.php 2009-06-02 12:36:39 UTC (rev 2519) +++ trunk/include/functions_installer.inc.php 2009-06-02 12:49:26 UTC (rev 2520) @@ -283,7 +283,7 @@ $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 ) { |