[pmwiki-users] various ways to launch pmwiki

Oliver Betz list_ob at gmx.net
Tue Sep 17 04:46:59 CDT 2013


jdd wrote:

><?php chdir('wiki'); include_once('pmwiki.php');
>
>I get the wiki, but without skin

if you use chdir, you need to adjust $PubDirUrl, PmWiki doesn't guess
it automatically (I don't know whether it would be possible).

My redirection script is:

|<?php
|$pmwdir = 'cms'; # for automatic assembly of PubDirUrl
|chdir($pmwdir);
|include_once('pmwiki.php');

And in config.php, I use:

|$PubDirUrl = "/$pmwdir/pub";

Oliver




More information about the pmwiki-users mailing list