Skip to content

Commit

Permalink
Dev: redirection after saving global settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Oct 14, 2015
1 parent 402eccb commit 6419b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/globalsettings.php
Expand Up @@ -177,7 +177,6 @@ private function _saveSettings()
$adminimagebaseurl = Yii::app()->getBaseUrl()."/upload/admintheme/$sAdmintheme/images/";
setGlobalSetting('adminimagebaseurl', $adminimagebaseurl);
setGlobalSetting('adminimageurl', $adminimagebaseurl.'images/14/');

}
else
{
Expand Down Expand Up @@ -264,7 +263,8 @@ private function _saveSettings()


Yii::app()->session['flashmessage'] = $warning.gT("Global settings were saved.");
Yii::app()->getController()->redirect('globalsettings');

Yii::app()->getController()->redirect(Yii::app()->createUrl('admin/globalsettings'));
}

private function _checkSettings()
Expand Down

0 comments on commit 6419b20

Please sign in to comment.