Lines Matching refs:farm
8 * The farm directory (constant DOKU_FARMDIR) can be any directory and needs to be set.
9 * Animals are direct subdirectories of the farm directory.
12 * http://example.org/<path_to_farm>/subdir/ will need the subdirectory '$farm/subdir/'.
15 * directories that will match range from '$farm/8080.www.example.org.mysite.test/'
16 * to a simple '$farm/domain/'.
35 * any subdirectory of the farm directory.
42 * @param string $farm
46 function farm_confpath($farm)
66 if (!is_dir($farm . '/' . $animal))
69 return $farm . '/' . $animal . '/conf/';
78 if (is_dir("$farm/$dir/conf/")) {
80 return "$farm/$dir/conf/";
85 // default conf directory in farm
86 if (is_dir("$farm/default/conf/")) {
88 return "$farm/default/conf/";