[dokuwiki] Re: wiki farm

  • From: Guy Brand <gb@xxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 3 Dec 2007 21:10:37 +0100

On 03 December at 13:31, Jason Keltz wrote:

> Hi.

  Hello


> 1) There's still no built in way to make DOKU_CONF refer to the "local" DW 
> version, rather than the distribution copy:
> 
> if(!defined('DOKU_INC')) 
> define('DOKU_INC',fullpath(dirname(__FILE__).'/../').

  __FILE__ is not symlink friendly.

> 2) The second problem is, I think, a bug.  The CSS didn't seem to load 
> properly for my template.  I think this is because lib/exe/css.php doesn't 
> surround the DOKU_INC define with fullpath:
>  if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
> 
> (Neither does ajax.php, detail.php, fetch.php, indexer.php, js.php, 
> mediamanager.php, opernsearch.php, and xmlrpc.php in the same directory)

  Similar change needed in all lib/exe/* files.
  Check out http://wiki.splitbrain.org/wiki:farm it could help.

  Cheers,

-- 
  bug
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: