Update Yii2.php

synchronization with Yii2's url creation
Update Yii2.php
Update Yii2.php
Update Yii2.php

allow url arrays
Merge pull request #1277 from dynasource/2.0

Fix for 4608