function beforeInitialize() { parent::beforeInitialize(); if ($_SESSION['isTestMode']) { $this->redirect('index.php', 'Sorry... PBXww is working only in production mode', 'danger'); } }
function beforeInitialize() { parent::beforeInitialize(); if ($_SESSION['isTestMode']) { $this->redirect('index.php', 'Sorry... PBXww is working only in production mode', 'danger'); } }