open_basedir restriction...
| From: | Kai-Uwe Beyer | Date: | Tue, 03 Dec 2002 10:19:18 +0000 |
| Subject: | open_basedir restriction... | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6619@lists.php.net to get a copy of this message | ||
Hi,
i've got this warnig when i include a PHP file, which also include a
html file.
open_basedir restriction in effect: File in wrong directory in
/home/web/smarty/docs/privat/test/gallery/index.php on line 1
*********************************************************************************
The FILES:
http.conf:
----------
document root /home/web/smarty/docs
php_admin_value open_basedir /home/web/smarty
gallery.php:
------------
$smarty->display('gallery.tpl');
gallery.tpl:
------------
{include_php file = '/privat/test/gallery/index.php'}
index.php:
----------
<?php include("index.html"); ?>
The index.html also located in the /privat/test/gallery/ directory.
I didn't found a variable like $use_sub_dirs for the safe mode in the
maual for this problem.
Thanks and bye Kai