public static function init() { self::$url = isset($_GET['url']) ? trim(stripslashes($_GET['url'])) : ''; self::$routes = get_config('route'); if (self::by_key() === false) { if (!self::advanced()) { exit('Rout <b>' . self::$url . "</b> not found in <b>app/config/rout" . EXT . '</b> file'); } } return ['controller' => self::$controller, 'method' => self::$method, 'params' => self::$params]; }