View Single Post
  #4 (permalink)  
Old 03-22-2007, 04:32 PM
viulian viulian is offline
New Pligger
 
Join Date: Mar 2007
Posts: 20
Thanks: 2
Thanked 9 Times in 7 Posts
I can't change my php.ini so I had to manually patch two files:

Smarty.class.php
libs/utils.php

I have added these two lines at the beginning, after the comments:

Code:
# disable notices
error_reporting(E_ERROR | E_WARNING | E_PARSE);
I have also noticed that if you do not add them as soon as possible, html pages containing the warnings need to be refreshed, otherwise they are served from a cache and still containing the Notify messages even if the php code is updated.
Reply With Quote
The Following User Says Thank You to viulian For This Useful Post: