-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBConf.pm
95 lines (91 loc) · 2.6 KB
/
BConf.pm
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
# Copyright (c) 2005-2008 bivio Software, Inc. All rights reserved.
# $Id$
package Freiker::BConf;
use strict;
use base 'Bivio::BConf';
sub dev_overrides {
my(undef, undef, $host, undef, $http_port) = @_;
return {
'Bivio::Ext::DBI' => {
derozap_global => {
connection => 'Bivio::SQL::Connection::MySQL',
database => 'derozap_global',
user => 'nagler',
password => 'nagler',
},
},
'Bivio::Test::Language::HTTP' => {
# home_page_uri => "http://$host:$http_port/my-site",
server_startup_timeout => 60,
},
'Bivio::Delegate::Cookie' => {
domain => '.' . $host,
},
};
}
sub merge_overrides {
my($proto, $host) = @_;
return Bivio::IO::Config->merge_list({
'Bivio::Biz::Model::MailReceiveDispatchForm' => {
filter_spam => 1,
},
'Bivio::UI::View::ThreePartPage' => {
center_replaces_middle => 1,
},
$proto->merge_class_loader({
delegates => {
'Bivio::Agent::HTTP::Cookie' => 'Bivio::Delegate::Cookie',
'Bivio::Agent::TaskId' => 'Freiker::Delegate::TaskId',
'Bivio::Type::RowTagKey' => 'Freiker::Delegate::RowTagKey',
'Bivio::Auth::Permission' => 'Freiker::Delegate::Permission',
'Bivio::Auth::RealmType' => 'Freiker::Delegate::RealmType',
'Bivio::Auth::Role' => 'Freiker::Delegate::Role',
'Bivio::Auth::Support' => 'Bivio::Delegate::SimpleAuthSupport',
'Bivio::Type::RealmName' => 'Freiker::Delegate::RealmName',
},
maps => {
Freiker => ['Freiker', 'Bivio'],
Bivio => ['Freiker'],
Action => ['Freiker::Action'],
Facade => ['Freiker::Facade'],
Delegate => ['Freiker::Delegate'],
Model => ['Freiker::Model'],
ShellUtil => ['Freiker::Util'],
TestLanguage => ['Freiker::Test'],
TestUnit => ['Freiker::TestUnit'],
Type => ['Freiker::Type'],
View => ['Freiker::View'],
FacadeComponent => ['Freiker::FacadeComponent'],
XHTMLWidget => ['Freiker::XHTMLWidget'],
},
}),
'Bivio::UI::Facade' => {
default => 'Freiker',
http_host => 'www.freiker.org',
mail_host => 'freiker.org',
},
'Bivio::Delegate::Cookie' => {
tag => 'BOLT',
prior_tags => [['FR', 'my.boltage.org']],
},
$proto->merge_http_log({
ignore_list => [
],
error_list => [
],
critical_list => [
],
}),
'Bivio::Test::HTMLParser::Forms' => {
error_color => 'error',
},
},
$proto->default_merge_overrides({
version => 10,
root => 'Freiker',
uri => 'boltage',
prefix => 'fr',
owner => 'bivio Software, Inc.',
}));
}
1;