From d56a531c727cce45770fe6a5a184ea2acea594d5 Mon Sep 17 00:00:00 2001 From: rurban Date: Mon, 24 Aug 2009 12:14:12 +0000 Subject: [PATCH] Add ENABLE_AJAX and READONLY git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7077 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- config/config-default.ini | 3 +++ config/config-dist.ini | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/config/config-default.ini b/config/config-default.ini index 5fa752f4c..879302203 100644 --- a/config/config-default.ini +++ b/config/config-default.ini @@ -10,6 +10,8 @@ JS_SEARCHREPLACE = true ENABLE_DOUBLECLICKEDIT = false ENABLE_XHTML_XML = false USECACHE = true +READONLY = false + ; calculated dynamically, but need a default WIKIDB_NOCACHE_MARKUP = false ENABLE_SPAMASSASSIN = false @@ -35,6 +37,7 @@ ENABLE_SEARCHHIGHLIGHT = true ENABLE_RECENTCHANGESBOX = false ENABLE_RATEIT = true ENABLE_PAGE_PUBLIC = false +ENABLE_AJAX = true WIKI_NAME = PhpWiki ENABLE_REVERSE_DNS = true diff --git a/config/config-dist.ini b/config/config-dist.ini index f590e536b..ecf365e49 100644 --- a/config/config-dist.ini +++ b/config/config-dist.ini @@ -127,6 +127,13 @@ ; http://momche.net/publish/article.php?page=acdropdown ;ENABLE_ACDROPDOWN = false +; Aysnchronous ajax callbacks to dynamically display pages +; (as format=xml) on demand. +; Experimental feature for plugin DynamicIncludePage, which might fail on +; some strictly non-conformant entities. +; Note: TitleSearch ajax calls are enabled by ENABLE_ACDROPDOWN (xmlrpc, not xml) +;ENABLE_AJAX = false + ; Experimental WikiPedia feature: Force Discussion/Article link at the topnavbar. ;ENABLE_DISCUSSION_LINK = true @@ -169,6 +176,12 @@ ; Default: false ;ENABLE_PAGE_PUBLIC = true +; Enable this for system maintainance (e.g. read-only mount) or a general +; read-only database. +; Default: false +;READONLY = true + + ;========================================================================== ; Part One: Authentication and security settings. ; -- 2.45.0