summaryrefslogtreecommitdiff
path: root/src/Smarty.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Smarty.php')
-rw-r--r--src/Smarty.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Smarty.php b/src/Smarty.php
index 5665ff45..9bbbdccd 100644
--- a/src/Smarty.php
+++ b/src/Smarty.php
@@ -1679,7 +1679,7 @@ class Smarty extends \Smarty\TemplateBase {
*/
public function writeFile($_filepath, $_contents) {
$_error_reporting = error_reporting();
- error_reporting($_error_reporting & ~E_NOTICE & ~E_WARNING);
+ error_reporting($_error_reporting & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING);
$_dirpath = dirname($_filepath);
// if subdirs, create dir structure
if ($_dirpath !== '.') {