include_php problem
| From: | Matt Williams | Date: | Thu, 03 Jul 2003 10:03:50 +0000 |
| Subject: | include_php problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9820@lists.php.net to get a copy of this message | ||
Morning one and all
I'm having a problem with include_php with absolute paths on windows.
I'm using this call
{{include_php file="$
smarty.const.MODULE_DIRQuick_Links/link_list.php" }}
Where MODULE_DIR is defined as c:/apache/htdocs/modules/ on windows and
/home/htdocs/modules/ on my linux box.
On linux this works fine but on windows I get he following error.
<b>Fatal error</b>: Call to undefined function: () in
<b>c:\apache\apache\schoolnet\include\smarty\Smarty.class.php</b> on line
<b>1477</b><br />
Also get the same error but on line 1658 if I try using include instead of
include_php.
If I try include or include_php for a file within my php include path it works ok.
Anyone any ideas?
Cheers
Matt
-------------------------------------------------