Small fixes

This commit is contained in:
RainLoop Team 2014-10-02 00:19:03 +04:00
parent 60b449b9f8
commit 195d13dc0d
6 changed files with 64 additions and 32 deletions

View file

@ -98,6 +98,11 @@ class Service
$bAdmin = true;
}
if ($this->oHttp->IsPost())
{
$this->oHttp->ServerNoCache();
}
if ($bAdmin && !$this->oActions->Config()->Get('security', 'allow_admin_panel', true))
{
echo $this->oActions->ErrorTemplates('Access Denied.',
@ -127,7 +132,7 @@ class Service
{
@header('Content-Type: text/html; charset=utf-8');
$this->oHttp->ServerNoCache();
$aTemplateParameters = $this->indexTemplateParameters($bAdmin);
$sCacheFileName = '';