clockwerk-www – Blame information for rev 5

Subversion Repositories:
Rev:
Rev Author Line No. Line
5 vero 1 <?php
2 //
3 // Group DB configration by Fumi.Iseki
4 //
5  
6 require_once('../include/env_interface.php');
7  
8  
9 //
10 // Please set information of your environment, if you do not use CMS/LMS.
11 //
12  
13 if (defined('CMS_DB_HOST'))
14 {
15 $dbPort = 3306;
16 $dbHost = CMS_DB_HOST;
17 $dbName = CMS_DB_NAME;
18 $dbUser = CMS_DB_USER;
19 $dbPassword = CMS_DB_PASS;
20 }
21 else
22 {
23 $dbPort = 3306;
24 $dbHost = OPENSIM_DB_HOST;
25 $dbName = OPENSIM_DB_NAME;
26 $dbUser = OPENSIM_DB_USER;
27 $dbPassword = OPENSIM_DB_PASS;
28 }
29  
30  
31 // Access Key
32 if (defined('XMLGROUP_RKEY'))
33 {
34 $groupReadKey = XMLGROUP_RKEY;
35 $groupWriteKey = XMLGROUP_WKEY;
36 }
37 else
38 {
39 $groupReadKey = "1234";
40 $groupWriteKey = "1234";
41 }
42  
43  
44 // DB Table Name
45 if (defined('XMLGROUP_ACTIVE_TBL'))
46 {
47 $osagent = XMLGROUP_ACTIVE_TBL;
48 $osgroup = XMLGROUP_LIST_TBL;
49 $osgroupinvite = XMLGROUP_INVITE_TBL;
50 $osgroupmembership = XMLGROUP_MEMBERSHIP_TBL;
51 $osgroupnotice = XMLGROUP_NOTICE_TBL;
52 $osgrouprolemembership = XMLGROUP_ROLE_MEMBER_TBL;
53 $osrole = XMLGROUP_ROLE_TBL;
54 }
55 else
56 {
57 $osagent = 'osagent';
58 $osgroup = 'osgroup';
59 $osgroupinvite = 'osgroupinvite';
60 $osgroupmembership = 'osgroupmembership';
61 $osgroupnotice = 'osgroupnotice';
62 $osgrouprolemembership = 'osgrouprolemembership';
63 $osrole = 'osrole';
64 }
65  
66  
67 $groupRequireAgentAuthForWrite = FALSE;
68 $groupEnforceGroupPerms = FALSE;
69  
70 ?>