) // Comment out the lines above (for the DBM) if you use these /* include "wiki_mysql.php3"; $WikiDataBase = "wiki"; $ArchiveDataBase = "archive"; $mysql_server = 'localhost'; $mysql_user = 'root'; $mysql_pwd = ''; $mysql_db = 'wiki'; */ /* // PostgreSQL settings. include "wiki_pgsql.php3"; $WikiDataBase = "wiki"; $ArchiveDataBase = "archive"; $pg_dbhost = "localhost"; $pg_dbport = "5432"; */ $ScriptName = "index.php3"; // Template files (filenames are relative to script position) $templates = array( "BROWSE" => "templates/browse.html", "EDITPAGE" => "templates/editpage.html", "EDITLINKS" => "templates/editlinks.html", "MESSAGE" => "templates/message.html" ); $SignatureImg = "$ServerAddress/signature.png"; $logo = "wikibase.png"; // date & time formats used to display modification times, etc. // formats are given as format strings to PHP date() function $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:" $AllowedProtocols = "http|https|mailto|ftp|news|gopher"; // you shouldn't have to edit anyting below this line $ScriptUrl = $ServerAddress . $ScriptName; $LogoImage = ""; $LogoImage = "$LogoImage"; $FieldSeparator = "\263"; // Apache won't show REMOTE_HOST unless the admin configured it // properly. We'll be nice and see if it's there. empty($REMOTE_HOST) ? ($remoteuser = $REMOTE_ADDR) : ($remoteuser = $REMOTE_HOST); // number of user-defined external links, i.e. "[1]" define("NUM_LINKS", 12); // try this many times if the dbm is unavailable define("MAX_DBM_ATTEMPTS", 20); // constants used for HTML output. List tags like UL and // OL have a depth of one, PRE has a depth of 0. define("ZERO_DEPTH", 0); define("SINGLE_DEPTH", 1); ?>