Re: Template Xipe Problem on WinOS

From: Date: Mon, 28 Jul 2003 10:17:11 +0000
Subject: Re: Template Xipe Problem on WinOS
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6860@lists.php.net to get a copy of this message
Thanks for response. No problem with directory names now, but still no result, I get only this notice: Notice: Undefined index: DOCUMENT_ROOT in c:\php\pear\pear\HTML\Template\Xipe\Main.php on line 304 GZ Tommy Ipsen wrote:
Gzelko wrote:
I'm trying to use Template Xipe on winos, Xipe is creating compiling directories starting with volume label "c:", ":" is illegal character for directory/filename in winos and creates error. Does someone knows solution?
Use something like: $options = array('templateDir' => 'templates', instead of $options = array('templateDir' => dirname(__FILE__), dirname() returns the complete path to your file - including drive letter like c: This is used for creating appropriate template-files but the "c:" part of the file-/dirname is illegal causing an error! Hope this helps Tommy Ipsen


« previous php.pear.general (#6860) next »