Пример #1
0
 public function init()
 {
     /** @noinspection PhpUndefinedClassInspection */
     parent::init();
     $this->debug = $this->module->getConfigApiDebugMode();
     $this->execute();
 }
Пример #2
0
 public function init()
 {
     /** @noinspection PhpUndefinedClassInspection */
     parent::init();
     $this->display_column_left = false;
     $this->display_column_right = false;
     $this->debug = $this->module->getConfigApiDebugMode();
     $this->redirect_on_error = !$this->debug;
 }