Exemplo n.º 1
0
 public static function init($config)
 {
     $config['router'] = array('http' => array('rule' => '0', 'PRI' => ''), 'category' => array('rule' => '1', 'PRI' => 'cid'), 'article' => array('rule' => '2', 'PRI' => 'id'), 'software' => array('rule' => '2', 'PRI' => 'id'), 'tag' => array('rule' => '3', 'PRI' => 'id'));
     self::$config = $config;
     //var_dump($config);
 }