[Pmwiki-users] WikiDocRoot ?

Carlo Strozzi carlos
Fri Aug 1 13:54:44 CDT 2003


On Fri, Aug 01, 2003 at 12:57:34PM -0600, Patrick R. Michaud wrote:
(...)
> So, maybe a structure like:
> 
>    pmwiki/
>      local/            - local customizations, not accessible via URL
>      pmwiki.php        - the main pmwiki program
>      scripts/          - distributed script files, not accessible via URL
>      wiki.d/           - wiki pages
>      wikilib.d/        - wiki page library for distributed pages
>      pub/              - files accessible via web server
>        img/            - images
> 	 pmwiki-50.gif - PmWiki default logo
>        upload/         - upload directory
> 
(...)
> We could then define a variable $WikiPubUrl which is the url for the pub/
> subdirectory, which contains all of the PmWiki files that need to be 
> accessible via a direct URL.  By default $WikiPubUrl would be set to
> "$ScriptDir/pub", but one could easily redefine this to point to a different
> url if the script's url is different from the url of this directory.

I think that's fine, I have no objections right now.

Carlo
-- 
For best reading please set the Courier font.
Freedom for Business: http://swpat.ffii.org



More information about the pmwiki-users mailing list