Permalink
Browse files

Set error_reporting

  • Loading branch information...
1 parent 1d8e863 commit 2c0d038396024c85ada00c10324a56ab7557f8d0 @alecpl alecpl committed Sep 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 skins/larry/svggradient.php
@@ -11,6 +11,8 @@
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
+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");

0 comments on commit 2c0d038

Please sign in to comment.