mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 01:40:22 +02:00
Fixes #314 - Tweaked error message when cache directory is not writable
This commit is contained in:
@@ -45,7 +45,8 @@ if (e107::getPref('cachestatus') == '2')
|
|||||||
|
|
||||||
if(!is_writable(e_CACHE_CONTENT))
|
if(!is_writable(e_CACHE_CONTENT))
|
||||||
{
|
{
|
||||||
e107::getRender()->tablerender(CACLAN_3, CACLAN_10."<br />(".$CACHE_DIRECTORY.")");
|
$mes->addError(CACLAN_10." (".e_CACHE.")");
|
||||||
|
e107::getRender()->tablerender(CACLAN_3, $mes->render());
|
||||||
require_once("footer.php");
|
require_once("footer.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user