WeakWiki


config\default.config.php

WeakWiki (WeakWiki main config file: default.config.php) Copyright (C) 2010 Alexander Lang This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . Project Home: http://weakwiki.robnet.wmweb.at/ Contact: robbiblubber@robnet.wmweb.at



/********************************************************************************
WeakWiki (WeakWiki main config file: default.config.php)
Copyright (C) 2010 Alexander Lang

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, see .

Project Home: http://weakwiki.robnet.wmweb.at/
Contact:      robbiblubber@robnet.wmweb.at
********************************************************************************/



/** No history module should be used.											*/
define('_M_HMODULE_NONE', './modules/history/history_none.php');

/** The zlib history module should be used.										*/
define('_M_HMODULE_ZLIB', './modules/history/history_zlib.php');



/** Wiki path. Code will usually append a page title to this.					*/ 
define('_WIKI_PATH',    'wiki.php?title=');

/** Wiki command. Code will usually append URL command parameters to this.		*/					
define('_WIKI_COMMAND', 'wiki.php');

/** Path to image directory. Images will be linked there if URL is not
	specified.																	*/
define('_PATH_IMAGES',  './images/');

/** Path to upload directory. Uploads will go into this.						*/
define('_PATH_UPLOAD',  './upload/');

/** Path to user control directory. User files will be there.					*/
define('_PATH_USERS',  './users/');
		
/** Path to history directory. This is where history and log files will be put
	and read from.																*/
define('_PATH_HISTORY', './history/');

/** Path to content directory. Wiki pages will be put here.						*/
define('_PATH_CONTENT', './content/');

/** Path to content directory. Wiki pages will be put here.						*/
define('_PATH_PREPARSED', './content/parsed/');



/** Title of the main page (start or home page).								*/
define('_WIKI_MAIN',    'main');

/** Title of the sidebar page.													*/
define('_WIKI_SIDEBAR', 'side');

/** Title of the collapsed sidebar page.										*/
define('_WIKI_SIDEBAR_COLLAPSED', 'side-collapsed');

/** Wiki sidebar width.					.										*/
define('_WIKI_SIDEBAR_WIDTH', 160);


/** Wiki instance name. Separates user administration from more than one
	instance on the same domain.												*/
define('_INSTANCE_NAME', 'WeakWiki');

/** Wiki title. Shown in the literally every page title.						*/
define('_WIKI_TITLE', 'WeakWiki');

/** Wiki logo. Shown left-hand in the main menu bar.							*/ 
define('_WIKI_LOGO',  'WeakWiki Version %VERSION%');



/** Default columns of the editor.												*/
$GLOBALS['_editor_cols'] = 120;

/** Default rows of the editor.													*/
$GLOBALS['_editor_rows'] = 35; 



/** Protocols the parser will create raw links for.								*/
$GLOBALS['_rawLink']  = Array('http', 'https', 'ftp');



/** Array of chars the parser will interprete as whitespace.					*/
$GLOBALS['_whiteSpace'] = Array(chr(0x9), chr(0xa), chr(0xb), chr(0xc), chr(0xd), chr(0x20));

/** String of chars the parser will interprete as whitespace.					*/
$GLOBALS['_whiteSpaceString'] = (chr(0x9) . chr(0xa) . chr(0xb) . chr(0xc) . chr(0xd) . chr(0x20));



/** History module to load.														*/
$GLOBALS['M_HISTORY'] = _M_HMODULE_ZLIB;			// Enable history (zlib)



/** Enables extended markups.													*/
define(X_MARKUPS, true);

/** Opens external links in a new window.										*/
define(X_LINKS_NEWTAB, false);

/** Will make the parser use different colors for different types of links.		*/
define(X_LINKS_COLOR, true);

/** Will make the parser force linebreaks as in source.							*/
define(X_AUTO_LINEBREAK, true);

/** Will activate the pre-parse feature.										*/
define(X_PREPARSE, false);



?>

WeakWiki