/** * Configure Backend Controllers */ public function before() { parent::before(); // Configure Backend require_once APPPATH . 'config' . DIRECTORY_SEPARATOR . 'backend.php'; // Navigation init Navigation::init(Kohana::$config->load('sitemap')->as_array()); // Configure WebApp init data WebApp::set_init_data(array('is_backend' => true, 'backend_url' => URL::backend(), 'base_url' => URL::site())); }