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 418746c commit 43c6833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/dumpdb.php
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(sprintf(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 43c6833

Please sign in to comment.