globalss and include file
Posted: Thu 6. May 2004, 20:59
Hi,
I’m trying to implement glossary to phpwcms.
It’s just one mysql table and one include file form my old site
.
(rewrite is on -- but I have to change php_flag register_globals On in .htaccess to get it to work partially).
The problem is
when I go straight to include url glossary works.
http://insomnia.com.pl/include/inc_ari/inc.glossary.php
but when I include the same inc.glossary.php in template
{PHP:include/inc_ari/inc.glossary.php}
http://insomnia.com.pl/glossary.html
there is no response form index.php?glossary
(rewrited to: glossary.html) and no error.
Any guess what could be wrong?
I’m trying to implement glossary to phpwcms.
It’s just one mysql table and one include file form my old site
(rewrite is on -- but I have to change php_flag register_globals On in .htaccess to get it to work partially).
The problem is
when I go straight to include url glossary works.
http://insomnia.com.pl/include/inc_ari/inc.glossary.php
but when I include the same inc.glossary.php in template
{PHP:include/inc_ari/inc.glossary.php}
http://insomnia.com.pl/glossary.html
there is no response form index.php?glossary
(rewrited to: glossary.html) and no error.
Any guess what could be wrong?