Code refactoring

Enable password validation (password change plugins)
This commit is contained in:
RainLoop Team 2014-10-04 22:31:29 +04:00
parent 8af2140e7a
commit 78f09856e3
8 changed files with 53 additions and 57 deletions

View file

@ -70,17 +70,10 @@ class Service
$this->oActions->BootStart();
$this->oActions->ParseQueryAuthString();
$bCached = false;
$sResult = '';
$bCached = false;
$sQuery = \trim(\trim($this->oHttp->GetServer('QUERY_STRING', '')), ' /');
$iPos = \strpos($sQuery, '&');
if (0 < $iPos)
{
$sQuery = \substr($sQuery, 0, $iPos);
}
$sQuery = $this->oActions->ParseQueryAuthString();
$this->oActions->Plugins()->RunHook('filter.http-query', array(&$sQuery));
$aPaths = \explode('/', $sQuery);
@ -132,7 +125,7 @@ class Service
{
@header('Content-Type: text/html; charset=utf-8');
$this->oHttp->ServerNoCache();
$aTemplateParameters = $this->indexTemplateParameters($bAdmin);
$sCacheFileName = '';