diff options
Diffstat (limited to 'platform/www/lib/plugins/farmer/includes')
-rw-r--r-- | platform/www/lib/plugins/farmer/includes/config.php | 13 | ||||
-rw-r--r-- | platform/www/lib/plugins/farmer/includes/plugins.php | 12 | ||||
-rw-r--r-- | platform/www/lib/plugins/farmer/includes/template.php | 27 |
3 files changed, 52 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/farmer/includes/config.php b/platform/www/lib/plugins/farmer/includes/config.php new file mode 100644 index 0000000..cd9aa67 --- /dev/null +++ b/platform/www/lib/plugins/farmer/includes/config.php @@ -0,0 +1,13 @@ +<?php +/** + * This overrides some values for the animals without having to configure it + * + * This file is added to the protected cascade for animals only. + * You should not edit it! + */ +global $FARMCORE; +$conf['savedir'] = $FARMCORE->getAnimalDataDir(); +$conf['basedir'] = $FARMCORE->getAnimalBaseDir(); +$conf['upgradecheck'] = 0; + + diff --git a/platform/www/lib/plugins/farmer/includes/plugins.php b/platform/www/lib/plugins/farmer/includes/plugins.php new file mode 100644 index 0000000..cd8d7b2 --- /dev/null +++ b/platform/www/lib/plugins/farmer/includes/plugins.php @@ -0,0 +1,12 @@ +<?php +/** + * This overrides some values for the animals without having to configure it + * + * This file is added to the protected cascade for animals only. + * You should not edit it! + */ +$plugins['extension'] = 0; +$plugins['upgrade'] = 0; +$plugins['testing'] = 0; +$plugins['farmer'] = 1; +$plugins['farmsync'] = 0; diff --git a/platform/www/lib/plugins/farmer/includes/template.php b/platform/www/lib/plugins/farmer/includes/template.php new file mode 100644 index 0000000..1b0075c --- /dev/null +++ b/platform/www/lib/plugins/farmer/includes/template.php @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js"> +<head> + <meta charset="utf-8"/> + <title> + <?php echo $title ?> + </title> + <script>(function (H) { + H.className = H.className.replace(/\bno-js\b/, 'js') + })(document.documentElement)</script> + <?php tpl_metaheaders() ?> + <meta name="viewport" content="width=device-width,initial-scale=1"/> + <?php echo tpl_favicon(array('favicon', 'mobile')) ?> + <?php tpl_includeFile('meta.html') ?> +</head> + +<body> +<!--[if lte IE 8 ]> +<div id="IE8"><![endif]--> +<div class="dokuwiki"> + <div class="page"> + <?php echo $body ?> + </div> +</div> +<!--[if lte IE 8 ]></div><![endif]--> +</body> +</html> |