Twatch include in WP
-
Hy there again… one more problem. I’m trying to include an external php file to all wp pages. It’s an statistic script – TraceWatch – i say it’s the best free one.
My problem sounds like this: i’m inserting the include command:
<?php @include_once $GLOBALS[‘HTTP_SERVER_VARS’][‘DOCUMENT_ROOT’].’/twatch_include/logger.php’; ?>
… in all my template files, but nothing is changing in the statistics. If i’m using an external page from wp script – works fine.
Is there an another way i can include this code to all my WP pages… ?
Tnq…
- The topic ‘Twatch include in WP’ is closed to new replies.