Don't edit default!
Just add your template as seperate dir and themeinfo.php as done with smaller, and add only your changed template files.
$_SERVER[DOCUMENT_ROOT] is not defined?
So it is not defined. It depends on your specific php installation.
You might try to use the phpwiki globals and constants instead, defined in lib/IniConfig.php
$_SERVER e.g. requires php-4.3
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am editing the templates found in default because i can't figure out how to change the default template.
I need to check authentication on my site and include some libraries.
when i use $_SERVER[DOCUMENT_ROOT] in the template it tells me that it is not defined.
where should I call my libraries from?
Don't edit default!
Just add your template as seperate dir and themeinfo.php as done with smaller, and add only your changed template files.
$_SERVER[DOCUMENT_ROOT] is not defined?
So it is not defined. It depends on your specific php installation.
You might try to use the phpwiki globals and constants instead, defined in lib/IniConfig.php
$_SERVER e.g. requires php-4.3
bump ?