created in ???

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Pappnase

created in ???

Post by Pappnase »

Hallo

mal wieder eine kelien frage.
habe in irgendeiner php config datei gesehen das man diese "created in 0.4587890000 sec" ausgabe ausschalten kann bzw. sie ausgeschlatet ist wieso erscheint sie dann trotzdem!??*grübel*

Gruß
Oliver
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Ich habe da was vergessen.

In der index.php ändern:

Code: Select all

// this is more for debugging - disable in conf.inc.php
//
if($phpwcms["timer"]) {
	include ("include/inc_lib/ext/phpsniff/phpTimer.class.php");
	$timer =& new phpTimer();
	$timer->start('main');
}

.
.
.


// show how long it needs to create content
if($phpwcms["timer"]) {
	$timer->stop('main');
	echo spacer(5)."<br><span class=\"v09\">&nbsp;created in ".($timer->get_current('main'))." sec</span>";
	echo "<br>".spacer(5);
}

Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply