//create your app and store the app. Ignore the $env->configWeb it is just the way we configure our app.
$app = Yii::createWebApplication($env->configWeb);
//Change the UrlFormat for urlManager to get if a get request is given instead of a path format one.
if (isset($_GET['r'])) {
Yii::app()->urlManager->setUrlFormat('get');
}
//run the app
$app->run();
Everything works perfectly now. Especially connecting with API’s where callback urls are usually in get format. I may also use my path formats for url rewritting. In a way it helps us use both get and path.
However…i feel it is not a long term solution and I will probably some day encounter a wicked bug lol.