Re: [SMARTY-DEV] Re: config_load removed from core
| From: | Monte Ohrt | Date: | Mon, 21 Apr 2003 13:33:55 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: config_load removed from core | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1243@lists.php.net to get a copy of this message | ||
Hmm, yep it's incorrect. Patch committed (similar to yours)
Monte
On Sun, 2003-04-20 at 16:21, Tom Sommer wrote:
> On Sun, 20 Apr 2003 16:05:43 -0500, Monte Ohrt wrote:
>
> > fixed.
>
> yup, after reviewing the code, it seems to me that the debug exec time is
> not AT ALL accurate?
>
> Would it not be better to define
> $debug_start_time = $smarty->_get_microtime();
> at the top of the function, and then remove it in the if-statement?
>
> like so:
> http://dev.tsn.dk/patches/smarty.config_file.exec_time.txt
>
> Just a thought :)
>
> --
> Tom Sommer, Denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>