diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 09:14:23 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-18 09:14:23 +0000 |
commit | 0d0b7fb3bdff727e3d1ef8eddd0b88c7cd2960fa (patch) | |
tree | fabf3ad47cee8b4c0f346f9788020f7c54a499c1 /scripts | |
parent | 4d91bdcd1963f1e0d1e5bee1d9d4701c7851dbc6 (diff) | |
download | pmwiki.svn-0d0b7fb3bdff727e3d1ef8eddd0b88c7cd2960fa.tar.bz2 |
Add $EnableCommonEnhancements.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4769 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/stdconfig.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/stdconfig.php b/scripts/stdconfig.php index b7d33a91..079bacaa 100644 --- a/scripts/stdconfig.php +++ b/scripts/stdconfig.php @@ -42,6 +42,31 @@ while(count($PostConfig)) { elseif (file_exists($k)) include_once($k); } +if (IsEnabled($EnableCommonEnhancements,0)) { + # Security + review changes + SDV($EnableCookieHTTPOnly, 1); + SDVA($LinkFunctions, array('mailto:' => 'ObfuscateLinkIMap')); + SDV($EnableRCDiffBytes, 1); + SDV($EnableLocalTimes, 3); + + # Editing + SDV($EnablePreviewChanges, 1); + SDV($EnableMergeLastMinorEdit, 1); + 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($EnableRobotControl,1)) |