note 16977 added to function.ini-set
| From: | dave at ovumdesign dot com | Date: | Tue, 20 Nov 2001 21:04:09 +0000 |
| Subject: | note 16977 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21081@lists.php.net to get a copy of this message | ||
Set your script include path from an array.
This works for both UNIX and Windows.
$PATH = array('.', 'include', 'etc');
ini_set('include_path', implode(strstr(PHP_OS, 'WIN') ? ';' :
':', $PATH));
--
http://www.php.net/manual/en/function.ini-set.php
http://master.php.net/manage/user-notes.php?action=edit+16977
http://master.php.net/manage/user-notes.php?action=delete+16977
http://master.php.net/manage/user-notes.php?action=reject+16977