diff options
author | Anika Henke <anika@selfthinker.org> | 2012-07-08 15:14:53 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-07-08 15:14:53 +0100 |
commit | d22be2c028a00f1d2117588941c27cfe49dd9ee2 (patch) | |
tree | f64f1159e45bce363fb929af54bc9f435bac99be /inc/farm.php | |
parent | bb853ec32133da0147618382c031cd09e4512c50 (diff) | |
download | rpg-d22be2c028a00f1d2117588941c27cfe49dd9ee2.tar.gz rpg-d22be2c028a00f1d2117588941c27cfe49dd9ee2.tar.bz2 |
improved comments, added link to farm.php
Diffstat (limited to 'inc/farm.php')
-rw-r--r-- | inc/farm.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/farm.php b/inc/farm.php index 05a5d6466..11b33efe7 100644 --- a/inc/farm.php +++ b/inc/farm.php @@ -2,8 +2,9 @@ /** * This overwrites DOKU_CONF. Each animal gets its own configuration and data directory. * This can be used together with preload.php. See preload.php.dist for an example setup. + * For more information see http://www.dokuwiki.org/farms. * - * The farm ($farm) can be any directory and needs to be set. + * The farm directory (constant DOKU_FARMDIR) can be any directory and needs to be set. * Animals are direct subdirectories of the farm directory. * There are two different approaches: * * An .htaccess based setup can use any animal directory name: @@ -21,7 +22,7 @@ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ -// DOKU_FARMDIR needs to be set in preload.php, here the fallback is the same as DOKU_INC (which isn't set yet) +// DOKU_FARMDIR needs to be set in preload.php, here the fallback is the same as DOKU_INC would be (if it was set already) if(!defined('DOKU_FARMDIR')) define('DOKU_FARMDIR', fullpath(dirname(__FILE__).'/../').'/'); if(!defined('DOKU_CONF')) define('DOKU_CONF', conf_path(DOKU_FARMDIR)); if(!defined('DOKU_FARM')) define('DOKU_FARM', false); |