Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set error_reporting

  • Loading branch information...
commit 2c0d038396024c85ada00c10324a56ab7557f8d0 1 parent 1d8e863
Aleksander Machniak alecpl authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  skins/larry/svggradient.php
2  skins/larry/svggradient.php
View
@@ -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");
Please sign in to comment.
Something went wrong with that request. Please try again.