[dokuwiki] Interesting Path - Problem
- From: Michael Trojacher <xarumanx@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 29 Apr 2009 13:45:31 +0200
Hi List,
Durign development of an Plugin i discovered sime very unique path problems:
in the plugin - configfile there are (among other the following two entries:
$conf['MediaDir'] = DOKU_INC."data/media";
// where is your media - directory. If unsure, leav as is
$conf['ThumbnailDir'] = DOKU_INC."data/media/thumbnails";
// where should the thumbnails be generated?
but when i use these paths in the plugin itself (called via
$this->getConf('MediaDir') resp. $this->getConf('ThumbnailDir')) i get two
different path variations:
the MediaDir ist given back as ./data/media but for the ThumbnailDir i get
the whole /var/www/something/htdocs/data/media/thumbnails. Why?
thanks
mike
Other related posts: