aboutsummaryrefslogtreecommitdiff
path: root/scripts/stdconfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stdconfig.php')
-rw-r--r--scripts/stdconfig.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/scripts/stdconfig.php b/scripts/stdconfig.php
index b7d33a91..dd8d763c 100644
--- a/scripts/stdconfig.php
+++ b/scripts/stdconfig.php
@@ -42,6 +42,46 @@ while(count($PostConfig)) {
elseif (file_exists($k)) include_once($k);
}
+if (IsEnabled($EnableCommonEnhancements,0)) {
+ # Security + review changes
+ SDV($EnableCookieHTTPOnly, 1);
+ SDV($EnableObfuscateEmails, 1);
+ SDV($EnableRCDiffBytes, 1);
+ SDV($EnableLocalTimes, 3);
+
+ # Editing
+ SDV($EnablePreviewChanges, 1);
+ SDV($EnableMergeLastMinorEdit, 12*3600);
+ SDV($EnableListIncludedPages, 1);
+ SDV($EnablePmSyntax, 2);
+ SDV($EnableEditAutoText, 1);
+ SDV($EnableGUIButtons, 1);
+ SDV($EnableGuiEditFixUrl, 220);
+
+ # Documentation
+ SDVA($PmTOC, array('Enable'=>1, 'EnableBacklinks'=>1));
+ SDV($EnableCopyCode, 1);
+
+ # Uploads (if enabled)
+ SDV($EnableUploadDrop, 1);
+ SDV($EnableRecentUploads, 1);
+ SDV($EnableUploadVersions, 1);
+}
+
+if (IsEnabled($EnableUrlApprove, 0))
+ include_once("$FarmD/scripts/urlapprove.php");
+
+if (IsEnabled($EnablePmForm, 0))
+ include_once("$FarmD/scripts/pmform.php");
+
+if (IsEnabled($EnableCreole, 0))
+ include_once("$FarmD/scripts/creole.php");
+
+if (IsEnabled($EnableRefCount, 0) && $action == 'refcount')
+ include_once("$FarmD/scripts/refcount.php");
+
+if (isset($EnableFeeds[$action]) && $EnableFeeds[$action])
+ include_once("$FarmD/scripts/feeds.php");
if (IsEnabled($EnableRobotControl,1))