summaryrefslogtreecommitdiff
path: root/inc/preload.php.dist
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-07-08 13:10:08 +0100
committerAnika Henke <anika@selfthinker.org>2012-07-08 13:10:08 +0100
commitbb853ec32133da0147618382c031cd09e4512c50 (patch)
tree57ef9625beb68bae5b74caff0dd4709af099bd2d /inc/preload.php.dist
parent9f2f766c00c72204f3a4bc723177d4fec53d8780 (diff)
downloadrpg-bb853ec32133da0147618382c031cd09e4512c50.tar.gz
rpg-bb853ec32133da0147618382c031cd09e4512c50.tar.bz2
added farms to the core
* extracted most farm code into inc/farm.php * by default farm.php is nowhere included * added preload.php.dist as an example farm setup * farm.php can be included in preload.php to activate farming
Diffstat (limited to 'inc/preload.php.dist')
-rw-r--r--inc/preload.php.dist17
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/preload.php.dist b/inc/preload.php.dist
new file mode 100644
index 000000000..f4eab2dae
--- /dev/null
+++ b/inc/preload.php.dist
@@ -0,0 +1,17 @@
+<?php
+/**
+ * This is an example for a farm setup. Simply copy this file to preload.php and
+ * uncomment what you need. See http://dokuwiki.org/farms for more information.
+ * You can also use preload.php for other things than farming, e.g. for moving
+ * local configuration files out of the main ./conf directory.
+ */
+
+// set this to your farm directory
+//if(!defined('DOKU_FARMDIR')) define('DOKU_FARMDIR', '/var/www/farm');
+
+// include this after DOKU_FARMDIR if you want to use farms
+//include(fullpath(dirname(__FILE__)).'/farm.php');
+
+// you can overwrite the $config_cascade to your liking
+//$config_cascade = array(
+//);