Permalink
Browse files

Beware sql.safe_mode

  • Loading branch information...
1 parent ce0d001 commit 0f1c2c217bdf36dd2ed93c1bc42645993447b52e @vrana committed Aug 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/drivers/mysql.inc.php
View
2 adminer/drivers/mysql.inc.php
@@ -48,7 +48,7 @@ function quote($string) {
}
}
- } elseif (extension_loaded("mysql")) {
+ } elseif (extension_loaded("mysql") && !(ini_get("sql.safe_mode") && extension_loaded("pdo_mysql"))) {
class Min_DB {
var
$extension = "MySQL", ///< @var string extension name

0 comments on commit 0f1c2c2

Please sign in to comment.