| 2 |
liveuser |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/*
|
|
|
4 |
|
| 257 |
liveuser |
5 |
QBPWCF, Quick Build PHP website Component base on Fedora Linux.
|
|
|
6 |
Copyright (C) 2014~2026 MIN ZHI, CHEN
|
| 2 |
liveuser |
7 |
|
|
|
8 |
This file is part of QBPWCF.
|
|
|
9 |
|
|
|
10 |
QBPWCF is free software: you can redistribute it and/or modify
|
|
|
11 |
it under the terms of the GNU General Public License as published by
|
|
|
12 |
the Free Software Foundation, either version 3 of the License, or
|
|
|
13 |
(at your option) any later version.
|
|
|
14 |
|
|
|
15 |
QBPWCF is distributed in the hope that it will be useful,
|
|
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
18 |
GNU General Public License for more details.
|
|
|
19 |
|
|
|
20 |
You should have received a copy of the GNU General Public License
|
|
|
21 |
along with QBPWCF. If not, see <http://www.gnu.org/licenses/>.
|
|
|
22 |
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
#頁面說明:
|
|
|
26 |
#提供給 allInOneFull.php、allInOneForCI.php、allInOneForCmd.php、allInOneForJson.php、allInOneForSOAP.php 使用的全域設定檔案
|
|
|
27 |
|
|
|
28 |
#資料庫連結用的資訊 - start
|
|
|
29 |
|
|
|
30 |
#資料庫的位置
|
|
|
31 |
$dbAddress="localhost";
|
|
|
32 |
|
|
|
33 |
#資料庫的 tcp port
|
|
|
34 |
$dbPort="3306";
|
|
|
35 |
|
|
|
36 |
#資料庫帳號
|
|
|
37 |
$dbAccount="";
|
|
|
38 |
|
|
|
39 |
#資料庫密碼
|
|
|
40 |
$dbPassword="";
|
|
|
41 |
|
|
|
42 |
#資料庫名稱
|
| 257 |
liveuser |
43 |
$dbName="qbpwcf";
|
| 2 |
liveuser |
44 |
|
|
|
45 |
#資料庫連結用的資訊 - end
|
|
|
46 |
|
|
|
47 |
#bbb service url
|
|
|
48 |
$bbbUrl="";
|
|
|
49 |
|
|
|
50 |
#bbb service secret
|
|
|
51 |
$bbbSecret="";
|
|
|
52 |
|
|
|
53 |
#qbpwcf unix domain socket path
|
|
|
54 |
$qbpwcf_usock_path=pathinfo(__FILE__)["dirname"]."/../../var/qbpwcf/qbpwcf-usock.sock";
|
|
|
55 |
|
|
|
56 |
#Zero SSL API access key
|
|
|
57 |
$zeroSSLapiKey="";
|
|
|
58 |
|
| 77 |
liveuser |
59 |
#運行web服務的賬戶
|
| 268 |
liveuser |
60 |
$webUser="qbpwcf";
|
| 77 |
liveuser |
61 |
|
|
|
62 |
#系統的domain
|
| 257 |
liveuser |
63 |
$domain="qbpwcf.org";
|
| 77 |
liveuser |
64 |
|
| 30 |
liveuser |
65 |
#供系統寄送信件的email帳號
|
| 257 |
liveuser |
66 |
$systemMailAcct="sender@".$domain;
|
| 30 |
liveuser |
67 |
|
|
|
68 |
#供系統寄送信件的email密碼
|
|
|
69 |
$systemMailPass="";
|
|
|
70 |
|
| 31 |
liveuser |
71 |
#供系統用於加解密的GnuPG ID
|
| 257 |
liveuser |
72 |
$gnupgId=&$systemMailAcct;
|
| 31 |
liveuser |
73 |
|
| 182 |
liveuser |
74 |
#資料庫系統加解密用的GnuPG ID
|
|
|
75 |
$dbSecret=&$gnupgId;
|
|
|
76 |
|
| 47 |
liveuser |
77 |
#本套件初始化後,要套用的環境模式."release"代表是指共一般使用所需;"develop"代表是在開發狀態下所需
|
|
|
78 |
$mode="release";
|
|
|
79 |
|
| 53 |
liveuser |
80 |
#預設 usr/bin/webSocketServer.php Listen 的 addr
|
|
|
81 |
$webSocketServerDefaultListenAddr="127.0.0.1";
|
|
|
82 |
|
|
|
83 |
#預設 usr/bin/webSocketServer.php Listen 的port
|
|
|
84 |
$webSocketServerDefaultListenPort="8080";
|
|
|
85 |
|
| 314 |
liveuser |
86 |
#預設 usr/share/qbpwcf/system/sendMailAgent 對應的網域名稱為 $domain
|
|
|
87 |
$system_sendMailAgent_domain=$domain;
|
|
|
88 |
|
|
|
89 |
#預設 usr/share/qbpwcf/system/sendMailAgent 的 path 為 "/"
|
|
|
90 |
$system_sendMailAgent_path="/";
|
|
|
91 |
|
| 319 |
liveuser |
92 |
#預設 usr/share/qbpwcf/system/sendMailAgent 對應的 web socket 網域名稱為 "ws".$system_sendMailAgent_domain
|
|
|
93 |
$system_sendMailAgent_ws_domain="ws-".$system_sendMailAgent_domain;
|
| 318 |
liveuser |
94 |
|
| 77 |
liveuser |
95 |
?>
|