public static function init() { self::$qs = explode('/', $_GET['q']); if (self::isAPI()) { self::$api = self::apiVersion(); self::$qs = array_slice(self::$qs, 2); } }