summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-04 19:06:03 +0200
committerAleksander Machniak <alec@alec.pl>2012-11-13 18:10:57 +0100
commit289b000d2505876913179f5c4b99d3da9a0b9ef4 (patch)
tree266a9b786ade45de4ae21048ba4cf6572be31d39
parent6a1cf52045b9c65e5ec4f45d636a4d8c9e0488d9 (diff)
Set error_reporting
-rw-r--r--skins/larry/svggradient.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/skins/larry/svggradient.php b/skins/larry/svggradient.php
index 13f9ee289..8daf517a4 100644
--- a/skins/larry/svggradient.php
+++ b/skins/larry/svggradient.php
@@ -13,6 +13,8 @@
* $Id$
*/
+ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT));
+
header('Content-Type: image/svg+xml');
header("Expires: ".gmdate("D, d M Y H:i:s", time()+864000)." GMT");
header("Cache-Control: max-age=864000");