Example #1
0
 function index()
 {
     $params = array('title' => app::get('system')->_('队列管理'));
     $queue_controller_name = system_queue::get_driver_name();
     $support_queue_controller_name = 'system_queue_adapter_mysql';
     if ($queue_controller_name == $support_queue_controller_name) {
         return $this->finder('system_mdl_queue_mysql', $params);
     } else {
         $pagedata['queue_controller_name'] = $queue_controller_name;
         $pagedata['support_queue_controller_name'] = $support_queue_controller_name;
         return $this->page('system/admin/queue.html', $pagedata);
     }
 }