Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2223 | minor | always | 12-02-07 22:33 | 02-01-08 03:14 | |
|
|||||
Reporter: | maydimanche | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.3 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|||||
Summary: | 0002223: set_include_path after include/require does no work well | ||||
Description: |
Resin-3.1.s071129 Calling set_include_path after calling functions that use include_path causes Warning level error. On PHP 4.3, 5.2 this sample works correctly. Such kind of script used to include configuration file that contains path as variable. (found on MODx cms) <?php header('Content-type: text/plain'); include dirname(__FILE__).'./test/hello.php'; //If you remove this, no error happen. echo get_include_path()."\n"; // nothing set_include_path(dirname(__FILE__).'/test/'); echo get_include_path()."\n"; // include_path seem to be OK... include 'hello.php'; // Warning: 'hello.php' is not a valid path ?> <?php // test/hello.php echo "hello world„n"; ?> |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|