Skip to content
Browse files

mb_ereg compatibility

  • Loading branch information...
1 parent 3c5c08e commit bbbf4eeb7982c495a79bf36731c077aa29f3c51f Jakub Vrana committed Jan 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/drivers/sqlite.inc.php
View
2 adminer/drivers/sqlite.inc.php
@@ -181,7 +181,7 @@ function Min_DB() {
}
function select_db($filename) {
- if (is_readable($filename) && $this->query("ATTACH " . $this->quote(ereg("(^[/\\]|:)", $filename) ? $filename : dirname($_SERVER["SCRIPT_FILENAME"]) . "/$filename") . " AS a")) { // is_readable - SQLite 3
+ if (is_readable($filename) && $this->query("ATTACH " . $this->quote(ereg("(^[/\\\\]|:)", $filename) ? $filename : dirname($_SERVER["SCRIPT_FILENAME"]) . "/$filename") . " AS a")) { // is_readable - SQLite 3
$this->Min_SQLite($filename);
return true;
}

0 comments on commit bbbf4ee

Please sign in to comment.
Something went wrong with that request. Please try again.