Zammo - not sure if this will help but yesterday one of my customers (I'm a reseller) was having problems uploading files and moving them to a specified directory. He was getting problems that appeared to indicate the same safe mode restrictions.
Eventually I managed to get it to work using $_SERVER['DOCUMENT_ROOT'].'/his_directory/temp/ .$file_name
so for you it would be $_SERVER['DOCUMENT_ROOT'].'/templates/'. $cur_template.'/index.php'
might be worth a try
Last edited by DavidAllen; 20-02-2007 at 11:13.
Reason: Typo
|