diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-09-04 19:06:03 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-09-04 19:06:03 +0200 |
commit | 2c0d038396024c85ada00c10324a56ab7557f8d0 (patch) | |
tree | f3c9b8d6f9e427675c0c362374ec4c36835c96f3 /skins/larry | |
parent | 1d8e8634450f84eff6c47c84e78c05fd356fd31b (diff) |
Set error_reporting
Diffstat (limited to 'skins/larry')
-rw-r--r-- | skins/larry/svggradient.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skins/larry/svggradient.php b/skins/larry/svggradient.php index c54bdec17..8db2c5f63 100644 --- a/skins/larry/svggradient.php +++ b/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"); |