Skip to content

Commit

Permalink
Dev More information in the error message when trying to dump the dat…
Browse files Browse the repository at this point in the history
…abase.
  • Loading branch information
c-schmitz committed Jul 19, 2017
1 parent 43ac488 commit 418746c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/dumpdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function __construct($controller, $id)

if (!in_array(Yii::app()->db->getDriverName(), array('mysql', 'mysqli')) || Yii::app()->getConfig('demoMode') == true)
{
die(sprinft(gT('This feature is only available for MySQL databases. Your database type is %s.'),Yii::app()->db->getDriverName());
die(sprintf(gT('This feature is only available for MySQL databases. Your database type is %s.'),Yii::app()->db->getDriverName());
}
}

Expand Down

0 comments on commit 418746c

Please sign in to comment.