Wikka Configuration File
ProjectWikkaNote: The code below is not necessarily the latest version of the config file. For latest, see my google code site.
This is a reorganized version of the wikka configuration file that I've created. It's a little better organized and accommodates the same wikka site running on different servers or hosts.
The one major drawback is that it can break whenever a WikkaWiki update is released. So use with some care.
Official WikkaWiki documentation can be found here: http://docs.wikkawiki.org/ConfigurationOptions
<?php
/**
* WikkaWiki configuration file : Multi-Domain Version
*
* Config values are keyed to domains
*
* This file was generated by Tom at klenwell@gmail.com on $Date$
* Do not manually change wakka_version if you wish to keep your engine up-to-date.
* For more information, see: http://klenwell.com/is/WikkaConfiguration
*/
$wakkaConfig = array(
# database
'mysql_host' => 'localhost',
'mysql_database' => 'TBA',
'mysql_user' => 'TBA',
'mysql_password' => 'TBA',
'table_prefix' => '',
'sql_debugging' => '0',
# wikka site settings
'root_page' => 'HomePage',
'base_url' => 'TBA',
'wakka_name' => 'TBA',
'meta_keywords' => 'TBA',
'meta_description' => 'TBA',
'rewrite_mode' => '1',
# admin
'admin_email' => 'TBA',
'admin_users' => 'TBA',
# mail
'phpmailer_path' => '3rdparty/plugins/phpmailer/class.phpmailer.php',
'use_gmail' => TRUE,
'gmail_user' => 'TBA', # e.g. user@gmail.com
'gmail_pw' => 'TBA',
# third-party services
'ga_code' => 'UA-XXXXX-XX',
/* permissions
ACL Codes
* Everyone
+ Registered Users
!* Admins Only
*/
'default_write_acl' => '!*',
'default_read_acl' => '*',
'default_comment_acl' => '+',
'allow_user_registration' => '0',
# wikka settings
'wakka_version' => '1.2',
'enable_version_check' => '1',
'enable_user_host_lookup' => '0',
'wiki_suffix' => '@wikka',
'referrers_purge_time' => '30',
'pages_purge_time' => '0',
'xml_recent_changes' => '10',
'version_check_interval' => '1h',
'wikiping_server' => '',
# paths
'action_path' => 'plugins/actions,actions',
'handler_path' => 'plugins/handlers,handlers',
'wikka_formatter_path' => 'plugins/formatters,formatters',
'wikka_highlighters_path' => 'formatters',
'wikka_template_path' => 'templates',
'geshi_path' => '3rdparty/plugins/geshi',
'geshi_languages_path' => '3rdparty/plugins/geshi/geshi',
'safehtml_path' => '3rdparty/core/safehtml',
'mime_types' => 'mime_types.txt',
# themes / UI
'theme' => 'default',
'gui_editor' => '1',
'hide_comments' => '0',
'grabcode_button' => '1',
'require_edit_note' => '0',
'anony_delete_own_comments' => '1',
'public_sysinfo' => '0',
'double_doublequote_html' => 'safe',
'upload_path' => 'uploads',
'stylesheet_hash' => '90abc',
# geshi settings
'geshi_header' => 'div',
'geshi_line_numbers' => '1',
'geshi_tab_width' => '4',
);
if ( $_SERVER['SERVER_NAME'] == 'localhost' ) {
$wakkaConfig['base_url'] = sprintf('http://%s/', $_SERVER['SERVER_NAME']);
$wakkaConfig['mysql_database'] = 'TBA';
$wakkaConfig['mysql_user'] = 'TBA';
$wakkaConfig['mysql_password'] = 'TBA';
$wakkaConfig['table_prefix'] = '';
$wakkaConfig['ga_code'] = NULL;
}
/**
* WikkaWiki configuration file : Multi-Domain Version
*
* Config values are keyed to domains
*
* This file was generated by Tom at klenwell@gmail.com on $Date$
* Do not manually change wakka_version if you wish to keep your engine up-to-date.
* For more information, see: http://klenwell.com/is/WikkaConfiguration
*/
$wakkaConfig = array(
# database
'mysql_host' => 'localhost',
'mysql_database' => 'TBA',
'mysql_user' => 'TBA',
'mysql_password' => 'TBA',
'table_prefix' => '',
'sql_debugging' => '0',
# wikka site settings
'root_page' => 'HomePage',
'base_url' => 'TBA',
'wakka_name' => 'TBA',
'meta_keywords' => 'TBA',
'meta_description' => 'TBA',
'rewrite_mode' => '1',
# admin
'admin_email' => 'TBA',
'admin_users' => 'TBA',
'phpmailer_path' => '3rdparty/plugins/phpmailer/class.phpmailer.php',
'use_gmail' => TRUE,
'gmail_user' => 'TBA', # e.g. user@gmail.com
'gmail_pw' => 'TBA',
# third-party services
'ga_code' => 'UA-XXXXX-XX',
/* permissions
ACL Codes
* Everyone
+ Registered Users
!* Admins Only
*/
'default_write_acl' => '!*',
'default_read_acl' => '*',
'default_comment_acl' => '+',
'allow_user_registration' => '0',
# wikka settings
'wakka_version' => '1.2',
'enable_version_check' => '1',
'enable_user_host_lookup' => '0',
'wiki_suffix' => '@wikka',
'referrers_purge_time' => '30',
'pages_purge_time' => '0',
'xml_recent_changes' => '10',
'version_check_interval' => '1h',
'wikiping_server' => '',
# paths
'action_path' => 'plugins/actions,actions',
'handler_path' => 'plugins/handlers,handlers',
'wikka_formatter_path' => 'plugins/formatters,formatters',
'wikka_highlighters_path' => 'formatters',
'wikka_template_path' => 'templates',
'geshi_path' => '3rdparty/plugins/geshi',
'geshi_languages_path' => '3rdparty/plugins/geshi/geshi',
'safehtml_path' => '3rdparty/core/safehtml',
'mime_types' => 'mime_types.txt',
# themes / UI
'theme' => 'default',
'gui_editor' => '1',
'hide_comments' => '0',
'grabcode_button' => '1',
'require_edit_note' => '0',
'anony_delete_own_comments' => '1',
'public_sysinfo' => '0',
'double_doublequote_html' => 'safe',
'upload_path' => 'uploads',
'stylesheet_hash' => '90abc',
# geshi settings
'geshi_header' => 'div',
'geshi_line_numbers' => '1',
'geshi_tab_width' => '4',
);
if ( $_SERVER['SERVER_NAME'] == 'localhost' ) {
$wakkaConfig['base_url'] = sprintf('http://%s/', $_SERVER['SERVER_NAME']);
$wakkaConfig['mysql_database'] = 'TBA';
$wakkaConfig['mysql_user'] = 'TBA';
$wakkaConfig['mysql_password'] = 'TBA';
$wakkaConfig['table_prefix'] = '';
$wakkaConfig['ga_code'] = NULL;
}
[There are no comments on this page]