1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-21 09:47:47 +02:00

update to 0.6

This commit is contained in:
David Grudl
2006-06-07 15:50:32 +00:00
parent 8361028ff3
commit 0951ea574c
13 changed files with 246 additions and 273 deletions

View File

@@ -58,6 +58,9 @@ class DibiException extends Exception
/**
* Checks result state
*/
function is_error($var)
{
return ($var === FALSE) || ($var instanceof Exception);