Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wrapper-mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function is_myresource ($o, $onlyres = false) {
if ( ! function_exists ('mysql_connect') ) {

if ( ! extension_loaded ('mysqli') ) {
throw new Exception (E_ERROR, 'MySQL wrapper must need mysqli extension');
throw new Exception ('MySQL wrapper needs the mysqli extension', E_ERROR);
}

if ( ! function_exists ('___ini_get') ) {
Expand Down Expand Up @@ -1693,4 +1693,4 @@ function mysql_global_resource (&$c, $argc, $noerr = false) {
function mysql_trigger_msg ($msg, $tr) {
return sprintf ('%s: %s in %s on lien %d', $tr['function'], $msg, $tr['file'], $tr['line']);
}
}
}