Re: Template execution time

From: Date: Mon, 12 May 2003 17:17:00 +0000
Subject: Re: Template execution time
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9528@lists.php.net to get a copy of this message
Hi thank you all very much for the suggestions. Greetings pt2002 "Pt2002" <pt2002@mail.pt> escreveu na mensagem news:20030512140314.96254.qmail@pb1.pair.com... > Hi > > I need to show at the end of the page something like "This page took n > seconds to be generated" even if the template is cached. > > I can do: > > $ini = time(); > > $tpl = new Smarty(); > > if (!is_cached("test.tpl") { > $tpl->assign("var1", "xpto") > ... > } > > $tpl->display("test.tpl"); > > How can I show the execution time at end of the page? > TIA > >

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