public function on_start()
 {
     parent::on_start();
     if (!Config::get('concrete.user.profiles_enabled')) {
         $this->replace('/page_not_found');
     }
 }
 public function on_start()
 {
     parent::on_start();
     if (!defined('ENABLE_USER_PROFILES') || !ENABLE_USER_PROFILES) {
         $this->render('/page_not_found');
     }
 }
 public function on_start()
 {
     parent::on_start();
     $site = \Core::make('site')->getSite();
     $config = $site->getConfigRepository();
     if (!$config->get('user.profiles_enabled')) {
         $this->replace('/page_not_found');
     }
 }
예제 #4
0
 public function on_start()
 {
     return parent::on_start();
 }