summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 51e30f578..a4d1fcf4d 100644
--- a/index.php
+++ b/index.php
@@ -61,6 +61,9 @@ function getPath($req)
}
}
+/**
+ * logs and then displays error messages
+ */
function handleError($error)
{
if ($error->getCode() == DB_DATAOBJECT_ERROR_NODATA) {