ID: 36556
Updated by: [EMAIL PROTECTED]
Reported By: reto at buxaprojects dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP
PHP Version: 5.1.2
New Comment:
"dir/file.php" is still the same file even if you add a directory to
include_path.
No bug here.
Previous Comments:
------------------------------------------------------------------------
[2006-02-28 11:38:00] reto at buxaprojects dot com
Description:
------------
include_once() and require_once doesn't work properly by using
set_include_path().
Reproduce code:
---------------
<?php
require_once("dir/file.php");
set_include_path("../another_dir/");
require_once("dir/file.php");
?>
Expected result:
----------------
include the files in 2 different directories.
Actual result:
--------------
includes only the second file and NOT both.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36556&edit=1