summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-03 20:50:21 +0200
committerSarven Capadisli <csarven@status.net>2009-10-03 20:50:21 +0200
commit2e8fcd7059491e4c399be705c474d0a0594e6ddb (patch)
treebebef4d2c8e1f68a013755ae8aa8b042b33ea7e6 /index.php
parent2cc1ff74eac9c7691639ea277b0dd5a338b7a6de (diff)
parent00c0becd56c1185f26524828be4722ffd8f05712 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 51e30f578..644812bd5 100644
--- a/index.php
+++ b/index.php
@@ -61,6 +61,11 @@ function getPath($req)
}
}
+/**
+ * logs and then displays error messages
+ *
+ * @return void
+ */
function handleError($error)
{
if ($error->getCode() == DB_DATAOBJECT_ERROR_NODATA) {