Using DOCROOT in a template does not work anymore

Zherya

New member
Joined
Jan 29, 2009
Messages
3
Location
Almaty, Kazakhstan
I have a website where I rewrote DOCROOT using this manual (HOWTO): help.directadmin.com/item.php?id=199

There was this code in my template:
Code:
|?DOCROOT=`DOCROOT`/somesubdir|

This worked fine until about friday. Since that day it's impossible to use DOCROOT in a template.

The first variant of HOWTO stopped working
Code:
|*if SUB="subname"|
|?SDOCROOT=`DOCROOT`/othersub|
|*endif|

While the second still works
Code:
|*if SUB="subname"|
|?SDOCROOT=`HOME`/domains/`DOMAIN`/subdomains/`SUB`|
|*endif|

P.S. Tested on a fresh test account for rewriting DOCROOT and SDOCROOT.
 
Back
Top