Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.6.0
- * @ Author : DeZender
- * @ Release on : 20.09.2018
- * @ Official site : http://DeZender.Net
- *
- */
- class Controller extends CController
- {
- public $layout = '//layouts/master';
- public $breadcrumbs = [];
- public $metaDescription;
- public $metaKeywords;
- public $pageHeader;
- public $license_info = ['timeEnd' => 0, 'domain' => ''];
- protected $ajax = ['status' => false, 'msg' => ''];
- public $gs;
- public $ls;
- public function init()
- {
- try {
- $this->license_info = $this->licenseCheck();
- }
- catch (Exception $e) {
- exit($e->getMessage());
- }
- $this->setDevHeaders();
- $this->migrationInstall();
- if (!user()->isGuest) {
- if (!$this->gs) {
- $gsId = user()->getGsId();
- $gsList = Gs::getOpenServers();
- if (isset($gsList[$gsId])) {
- $this->gs = $gsList[$gsId];
- }
- }
- if (!$this->ls && $this->gs) {
- $lsList = Ls::getOpenLoginServers();
- $this->ls = (isset($lsList[$this->gs->id]) ? $lsList[$this->gs->id] : NULL);
- }
- }
- $this->generateOnlineFile();
- }
- public function performAjaxValidation($model)
- {
- echo ActiveForm::validate($model);
- Yii::app()->end();
- }
- public function redirectBack()
- {
- if (request()->getUrlReferrer() !== NULL) {
- $this->redirect(request()->getUrlReferrer());
- }
- $this->redirect(['/index/default/index']);
- }
- public function actionError()
- {
- if ($error = app()->errorHandler->error) {
- if (request()->isAjaxRequest) {
- ...................................................................
- ....................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement