WikyBlog
Download

Home > Talk > site stats

I guess this ties into the .htaccess question, but not exactly. I want to use slim stat for my site's stats. Slim stat require I put a line of PHP on every page who's stats I want reported. I've added this line to a Wordpress template in the past, and it worked fine. Where would I add this line for it to work w/ wikyblog

the line looks like
<?php @include_once( "/home/public_html/nycgreenway/slimstat/inc.stats.php" ); ?>
Where should I put that? Or am I better off using mint which requires a line of JS instead of PHP?
To get another php application to work with the wikyblog application, you'll need to edit one of the php files running the wikyblog software. I'd recommend adding the above line to /wiki.php since this file is used for all pages and it doesn't get overwritten with updates. So the bottom of your /wiki.php file might end up looking something like this:
	if( $autoStart !== false){
		require($includeDir.'/wiki2.php');
		doWikiThing();
	}
	
	@include_once( "/home/public_html/nycgreenway/slimstat/inc.stats.php" );
Last modified 11:41 Thu, 18 May 2006 by Main. Accessed 409 times What Links Here share Share Except where expressly noted, this work is licensed under a Creative Commons License.