My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?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',

# recaptcha: get keys at http://recaptcha.net/api/getkey?app=php
'use_recaptcha' => TRUE,
'recaptcha_domain' => 'TBA',
'rc_public_key' => 'TBA',
'rc_private_key' => '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',

# version 1.3 updates
'lang_path' => 'plugins/lang',
'feedcreator_path' => '3rdparty/core/feedcreator',
'menu_config_path' => 'config',
'spamlog_path' => './spamlog.txt.php',
'badwords_path' => './badwords.txt.php',
'default_comment_read_acl' => '*',
'default_comment_post_acl' => '+',
'default_comment_display' => 'threaded',
'default_lang' => 'en',
'max_new_document_urls' => '15',
'max_new_comment_urls' => '6',
'max_new_feedback_urls' => '6',
'spam_logging' => '0',
'content_filtering' => '0',
'utf8_compat_search' => '0',
);


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;
}

Change log

r281 by klenwell on Jan 16, 2012   Diff
wikka code updates for v1.3 upgrade
Go to: 
Project members, sign in to write a code review

Older revisions

r253 by klenwell on Apr 27, 2010   Diff
refactored wikka comment code to use
recaptcha -- needs further testing
r248 by klenwell on Apr 10, 2010   Diff
wikka action activitysummary
successfully tested
r246 by klenwell on Apr 10, 2010   Diff
adding mail support to
action.class.php
All revisions of this file

File info

Size: 4228 bytes, 124 lines
Powered by Google Project Hosting