mzahit29
Joined: 28 Jan 2009 Posts: 1
|
Posted: 2009-01-28, 2:05 Post subject: relative path |
|
|
hi
I'am newbie using gubed. and my problem is with the require('relative path') when using relative paths. I can not debug like that it gives error saying
Gubed: Error occurred: Line 1137, Code 2 (file_get_contents(/media/disk/docs/My Web Pages/website/constants.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory) in /media/disk/docs/My Web Pages/website/includes/connection.php
where as "file_get_contents(/media/disk/docs/My Web Pages/website/constants.php)"
above should be "file_get_contents(/media/disk/docs/My Web Pages/website/includes/constants.php)" in the first place.
so it is looking for the wrong path if i give a relative path with require. but if i give an absolute path it works perfect. Is there a way to get around this or is there something wrong with configuration.
thanks |
|