Перенес функции в класс

This commit is contained in:
Фёдор Подлеснов 2018-02-07 16:56:59 +03:00
parent 5e1362d103
commit 5e6d39d638
8 changed files with 488 additions and 491 deletions

View file

@ -1,8 +1,5 @@
<?php
require_once __DIR__ . '/../functions.php';
function forceUrl($name)
{
if (is_callable($name)) {
@ -213,7 +210,7 @@ class Controller_Action
/*.Filter_ActionAccess.*/$access = $this->access;
if ($access == null || $access->checkAction($name)) {
return lcurry(array($this, 'postUrl'), $name, $param);
return Functions::lcurry(array($this, 'postUrl'), $name, $param);
}
return null;
}