mirror of
https://github.com/dg/dibi.git
synced 2025-08-10 08:04:32 +02:00
* DibiConnection::getConfig('name') returns name of connection
* seek() returns boolean again * DibiDriver throws exception when is used after free()
This commit is contained in:
@@ -72,9 +72,12 @@ class DibiDatabaseException extends DibiException
|
||||
|
||||
|
||||
|
||||
public static function _catchErrorHandler($errno, $errstr)
|
||||
public static function _catchErrorHandler($errno, $errstr, $errfile, $errline, $errcontext)
|
||||
{
|
||||
self::restore();
|
||||
if (ini_get('html_errors')) {
|
||||
$errstr = strip_tags($errstr);
|
||||
}
|
||||
throw new self($errstr, $errno);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user