Re: Smarty and Warnings

From: Date: Thu, 17 May 2001 20:57:25 +0000
Subject: Re: Smarty and Warnings
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-779@lists.php.net to get a copy of this message
Hello, >>You could change your error_reporiting level at the beginning of the >>display() function, then set it back at the end of the function. uuh .. this is a sneaky´n dirty hack :-) i just use the reporting level(s) during development. so, if i want to put something online (where diffrent setup values are valid (without error-reporting)), i have all those redundant level switching lines in the code (and i even hate whitespace :) My Project is growing and growing and the more the size grows, the more work i would have to remove those lines when i upload something... ok .. i can write a parser but then i better define the stuff in the smarty classes. >>Some of these warnings have been fixed in 1.4.1, by the way. Yes but, because of the new 'compiling by request', it seems, they have improved a looot ;-) Holger PS: It´s no problem -- i really like Smarty -- peace .. at the moment i just have no time to define all the Variables in the Smarty Classes now. Maybe tomorrow, maybe over the Weekend ...

« previous php.smarty.general (#779) next »