Mal wieder ein [PHP] Problem / Problems with [PHP]

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Mario670
Posts: 59
Joined: Sun 18. Apr 2004, 23:52
Contact:

Post by Mario670 »

Einfach:
<?php
$chCounter_visible = "0";
include("/usr/export/www/vhosts/funnetwork/hosting/gruleiru/counter/counter.php");
?>
in die index.php direkt packen und fertig :-)
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Ach immer diese Codepatcherei.

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");
?>
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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply