Update api/index.php (include yii framework)