in die index.php direkt packen und fertig<?php
$chCounter_visible = "0";
include("/usr/export/www/vhosts/funnetwork/hosting/gruleiru/counter/counter.php");
?>
Mal wieder ein [PHP] Problem / Problems with [PHP]
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Ach immer diese Codepatcherei.
mach Dir ein Script "mycounter.php" und packe dort
hinein.
Dann legst Du "mycounter.php" in "phpwcms_template/inc_script/frontend_init" - fertig.
Das wird dann vor jedem Parsing von Content mit included.
Oliver
mach Dir ein Script "mycounter.php" und packe dort
Code: Select all
<?php
$chCounter_visible = "0";
include("/usr/export/www/vhosts/funnetwork/hosting/gruleiru/counter/counter.php");
?>
Dann legst Du "mycounter.php" in "phpwcms_template/inc_script/frontend_init" - fertig.
Das wird dann vor jedem Parsing von Content mit included.
Oliver