MDL-30294 prevent notices and errors in theme files content
commitc198390a49136cb180c16a6917b7e315f6a21793
authorPetr Skoda <commits@skodak.org>
Sat, 19 Nov 2011 10:23:28 +0000 (19 11:23 +0100)
committerPetr Skoda <commits@skodak.org>
Sat, 19 Nov 2011 10:23:28 +0000 (19 11:23 +0100)
tree8a1aab411da7582f097700bcf5e2a3be108cc83f
parentfe41ba7489f5a44e7325d20442e01751c7736d0a
MDL-30294 prevent notices and errors in theme files content

Theme images, css and JS are broken by PHP error messages which creates major problems for production sites with enabled displaying of errors because the files are cached indefinitely. It is better to send the errors and notices to logs only, in any case all developers must learn to use error logs.
theme/image.php
theme/javascript.php
theme/styles.php