Exemple #1
0
 function start($name = null)
 {
     self::$controller = new Controller($name);
 }
Exemple #2
0
 private static function init_controllor()
 {
     self::$controller = isset($_GET['controller']) ? daddslashes($_GET['controller']) : 'index';
 }