nav-left cat-right
cat-right
Matthias Pospiech > Web > wikis > bbclone in mediawiki

bbclone in mediawiki

This happens to be quite easy, as nothing more than adding this to the index.php at the beginning is necessary
if (strstr($_SERVER['REQUEST_URI'],"?") == false) {
	define("_BBC_PAGE_NAME",$_SERVER['REQUEST_URI']);
	define("_BBCLONE_DIR", "bbclone/");
	define("COUNTER", _BBCLONE_DIR."mark_page.php");
	if (is_readable(COUNTER)) include_once(COUNTER);
}

Einen Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*

This blog is kept spam free by WP-SpamFree.