A C wrote:
Hello,
Thanks Platonides.
I would like to setup BBClone but i don't know where should i insert the following
code to perform a test (
http://help.bbclone.de/index.php?n=Setup.TestingBBClone) :
<?php
define("_BBC_PAGE_NAME", "Test");
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
I've skip this test
Run it first.
and tried to insert this code in the *.htaccess file
of the wiki (in order to Automatically Adding the Activation Code To Every PHP Page
(Apache webservers only) -
http://help.bbclone.de/index.php?n=Setup.ActivationCode) after
creating the file count.php at the root of the webserver :
<FilesMatch "\.(php)$">
php_value short_open_tag "Off"
php_value auto_append_file "/the/path/that/leads/to/count.php"
</FilesMatch>
First, you were supposed to substitute /the/path/that/leads/to/count.php
with a real path.
Second, that method will give some problems with non-html pages (CSS,
javascript, feeds...) so we better use the other system.