From 327983daf0cbea5daec3fcd0f10cf466867ecebd Mon Sep 17 00:00:00 2001 From: wainstead Date: Mon, 26 Jun 2000 03:54:10 +0000 Subject: [PATCH] Added some comments, and I think the mSQL stuff is revised git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@107 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- wiki_config.php3 | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/wiki_config.php3 b/wiki_config.php3 index d88e46408..6464a6c74 100644 --- a/wiki_config.php3 +++ b/wiki_config.php3 @@ -1,4 +1,4 @@ - + ) // Comment out the lines above (for the DBM) if you use these -/* include "wiki_mysql.php3"; + include "wiki_mysql.php3"; $WikiDataBase = "wiki"; $ArchiveDataBase = "archive"; $mysql_server = 'localhost'; @@ -54,11 +60,13 @@ $pg_dbport = "5432"; */ + /* // MiniSQL (mSQL) settings. include "wiki_msql.php3"; $msql_db = "wiki"; - + // should be the same as wikipages.line + define("MSQL_MAX_LINE_LENGTH", 512); $WikiDataBase = array(); $ArchiveDataBase = array(); @@ -73,10 +81,10 @@ // Template files (filenames are relative to script position) $templates = array( - "BROWSE" => "templates/browse.html", - "EDITPAGE" => "templates/editpage.html", + "BROWSE" => "templates/browse.html", + "EDITPAGE" => "templates/editpage.html", "EDITLINKS" => "templates/editlinks.html", - "MESSAGE" => "templates/message.html" + "MESSAGE" => "templates/message.html" ); $SignatureImg = "$ServerAddress/signature.png"; @@ -87,7 +95,7 @@ $datetimeformat = "F j, Y"; // may contain time of day $dateformat = "F j, Y"; // must not contain time - // allowed protocols for links - be careful not to allow "javscript:" + // allowed protocols for links - be careful not to allow "javascript:" $AllowedProtocols = "http|https|mailto|ftp|news|gopher"; // you shouldn't have to edit anyting below this line -- 2.45.0