Zherya
New member
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:
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
While the second still works
P.S. Tested on a fresh test account for rewriting DOCROOT and SDOCROOT.
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.