Exemple #1
0
 public function action_database()
 {
     Assets::package('ace');
     $this->set_title(__('Database'));
     $this->template->content = View::factory('update/database', array('actions' => Update::check_database(FALSE)));
 }
Exemple #2
0
 public function get_check()
 {
     $this->response(array('version' => Update::check_version() === Update::VERSION_OLD ? Update::remote_version() : FALSE, 'database' => strlen(Update::check_database())));
 }