Anonymous | Login | Signup for a new account | 12-17-2024 08:43 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002223 | [Quercus] | minor | always | 12-02-07 22:33 | 02-01-08 03:14 | ||||
Reporter | maydimanche | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.3 | ||||||
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"; ?> |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |