Nuno Lopes wrote:
So, if get_cvs_dir() is deprecated, it needs to be replaced by something . For now the map is done in $PROJECTS, but we can change it to another place.. Someone ?
I think we could just use the SetEnv in the httpd.conf file.
Something like 'SetEnv CVS_DIR "/cvs/phpdoc-all"'
We also need to access peardoc, smarty/docs, php-get-docs, don't we ?
didou
Yes... (I think it isn't used currently... but might be needed for templates/localization).
That var could point to top level dir, which contains all those docs:
/cvs/phpdoc-all
/cvs/peardoc
....
SetEnv CVS_DIR "/cvs"
get_cvs_dir() could then return the dir for the current project.
Nuno