session_only = false; } function dispatch() { session_start(); if(isset($_SESSION['admin']) && $_SESSION['admin'] == true) { $this->page->setTitle(__('page.administration')); } else { $this->name = 'adminlogin'; } } }