05-04-05 01:45 AM
I have noticed, that the handlers, execute the scripts with '/' as the
current working directory, so it is difficult to include files, like
templates, using the relative path. I'm using the __file__ constant to
discover the path. There is another constant in the library that gives
me the cwd?
I think that execute the script on the directory where it is located, is
a much better aproach. There is any reason for not doing it?
Thanks,
Alberto Ruiz
[ Post a follow-up to this message ]
|