- Возвращен на место метод инициализации скрипта по проверке времени присутствия на странице

parent b32508a1
...@@ -62,6 +62,7 @@ abstract class BaseController extends Controller ...@@ -62,6 +62,7 @@ abstract class BaseController extends Controller
public function beforeAction($action) public function beforeAction($action)
{ {
CheckPresenceTime::init()->initScript();
/*if(substr($currentUrl, -1) == '/' && $currentUrl!="/") { /*if(substr($currentUrl, -1) == '/' && $currentUrl!="/") {
$urlWithoutSlash = substr($currentUrl, 0, -1); $urlWithoutSlash = substr($currentUrl, 0, -1);
return $this->redirect($urlWithoutSlash,true,301); return $this->redirect($urlWithoutSlash,true,301);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment