Subversion Repositories php-qbpwcf

Rev

Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 182 Rev 226
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
/*
3
/*
4
 
4
 
5
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
5
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
6
    Copyright (C) 2015~2025 Min-Jhin,Chen
6
    Copyright (C) 2014~2025 MIN ZHI, CHEN
7
 
7
 
8
    This file is part of QBPWCF.
8
    This file is part of QBPWCF.
9
 
9
 
10
    QBPWCF is free software: you can redistribute it and/or modify
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
11
    it under the terms of the GNU General Public License as published by
Line 65... Line 65...
65
 
65
 
66
	#啟動 session
66
	#啟動 session
67
	session_start();
67
	session_start();
68
 
68
 
69
	}#if end
69
	}#if end
70
	
70
 
71
#如果尚未取得 lib path
71
#如果尚未取得 lib path
72
if(!isset($folderOfUsrLib)){
72
if(!isset($folderOfUsrLib)){
73
 
73
 
74
	#儲存要執行的指令
74
	#儲存要執行的指令
75
	$cmd="php -f ".escapeshellarg(pathinfo(__FILE__)["dirname"]."/../../bin/libexec/folderOfUsrLib.php");
75
	$cmd="php -f ".escapeshellarg(pathinfo(__FILE__)["dirname"]."/../../bin/libexec/folderOfUsrLib.php");
Line 88... Line 88...
88
 
88
 
89
		}#if end
89
		}#if end
90
 
90
 
91
	#儲存lib path
91
	#儲存lib path
92
	$folderOfUsrLib=$output[0];
92
	$folderOfUsrLib=$output[0];
93
	
93
 
94
	}#if end
94
	}#if end
95
 
95
 
96
#匯入自建的php類別檔
96
#匯入自建的php類別檔
97
require_once("amazon.php"); #跟 amazon 互動的類別
97
require_once("amazon.php"); #跟 amazon 互動的類別
98
require_once("analyse.php"); #跟問卷整理分析有關的類別
98
require_once("analyse.php"); #跟問卷整理分析有關的類別
Line 162... Line 162...
162
require_once("webSock.php"); #裡面包含web socket的應用
162
require_once("webSock.php"); #裡面包含web socket的應用
163
require_once("xml.php"); #裏面包含xml資料的截取功能
163
require_once("xml.php"); #裏面包含xml資料的截取功能
164
require_once("zerossl.php"); #裡面包含應用zerossl提供的服務
164
require_once("zerossl.php"); #裡面包含應用zerossl提供的服務
165
 
165
 
166
#匯入全域的設定檔
166
#匯入全域的設定檔
167
require_once(pathinfo(__FILE__)["dirname"]."/../../../etc/qbpwcf/allInOneConfig.php"); 
167
require_once(pathinfo(__FILE__)["dirname"]."/../../../etc/qbpwcf/allInOneConfig.php");
168
 
168
 
169
#覆蓋資料庫連結用的資訊
169
#覆蓋資料庫連結用的資訊
170
#$dbAddress="localhost";#資料庫的位置
170
#$dbAddress="localhost";#資料庫的位置
171
#$dbPort="3306";#資料庫的 tcp port
171
#$dbPort="3306";#資料庫的 tcp port
172
#$dbAccount="root";#資料庫帳號
172
#$dbAccount="root";#資料庫帳號
Line 239... Line 239...
239
	#debug
239
	#debug
240
	var_dump($changeSettings);exit;
240
	var_dump($changeSettings);exit;
241
 
241
 
242
	}#if end
242
	}#if end
243
 
243
 
244
?>
-
 
245
244
?>
-
 
245