How about to have a possibility to include code AFTER cms.php, like epilogue.php? Why? In several installation I use bbclone as web statistics. The easiest way to include is to alter index.php like, because all the environment is established and the script at the very end cannot harm anything else:
Code: Select all
...
include('./cmsimple/cms.php');
if(!XH_ADM){ //suppress stat im admin mode
if ($s >= 0 ) define("_BBC_PAGE_NAME", $h[$s]); else define("_BBC_PAGE_NAME", $h[0]);
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
}
regards
manu