Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
510 | minor | always | 12-19-05 05:49 | 12-30-05 18:26 | |
|
|||||
Reporter: | bago | Platform: | x86 | ||
Assigned To: | OS: | Windows XP | |||
Priority: | normal | OS Version: | 3.0.15 | ||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
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: | |||||
System Description: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|