Removed special cases for PHP5 handling.

This commit is contained in:
paul 2006-11-21 16:13:17 +00:00
parent a781d02678
commit f3a8175815
1 changed files with 1 additions and 5 deletions

View File

@ -51,11 +51,7 @@ function errHndl($errno, $errmsg, $filename, $linenum, $vars)
exit($errno);
}
}
if (PHP5) {
$old_error_handler = set_error_handler("errHndl", E_ALL);
} else {
$old_error_handler = set_error_handler("errHndl");
}
$old_error_handler = set_error_handler("errHndl", E_ALL);
/* ============================================================= runable code */
$r = $dbc = DB::connect($config['dsn'], TRUE);