summaryrefslogtreecommitdiff
path: root/imap.php
diff options
context:
space:
mode:
authorHorus2016-07-03 21:17:34 +0200
committerHorus2016-07-03 21:17:34 +0200
commitf95af4211bc24e5cf0b5b017c7d50113e4000968 (patch)
tree30c97d3dd2cbb99bfefa458dab27434a557f2611 /imap.php
parentf5cf66b6929928fe5a4a6cf227f9a2f2195329e5 (diff)
downloadimap2rss-f95af4211bc24e5cf0b5b017c7d50113e4000968.tar.gz
Add caching.
Diffstat (limited to 'imap.php')
-rw-r--r--imap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap.php b/imap.php
index 191447c..01d8dae 100644
--- a/imap.php
+++ b/imap.php
@@ -18,6 +18,7 @@ function getMail($user, $pass, $inbox, $max_items){
}
} catch( Exception $e ) {
header( $_SERVER["SERVER_PROTOCOL"] . " 403 Forbidden" );
+ error_log($e->getMessage());
exit(1);
}