Anonymous | Login | Signup for a new account | 04-01-2025 21:16 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000510 | [Quercus] | minor | always | 12-19-05 05:49 | 12-30-05 18:26 | ||||
Reporter | bago | View Status | @0@ | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | Platform | x86 | ||||
Status | closed | OS | Windows XP | ||||||
Projection | none | OS Version | 3.0.15 | ||||||
ETA | none | Fixed in Version | 3.0.18 | Product Version | |||||
Product Build | |||||||||
Summary | 0000510: include and include_once should be relative to the main php script | ||||||||
Description | in quercus include and include_once take relative paths from the pwd where the current script is located. In the official php interpreter they take as "base path" the path of the first php script. | ||||||||
Steps To Reproduce |
main.php: <? include('template/include.php'); ?> template/include.php <? include ('template/test.php'); ?> template/test.php <? print('it works'); ?> Calling the main.php with the official php interpreter works, using quercus it doesn't work (I need to replace the 'template/test.php' with 'test.php'. I agree that the quercus way is cleaner and better, but the official php works differently and quercus should try to mimic its misbehaviour. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |