Subversion Repositories php-qbpwcf

Rev

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

Rev 96 Rev 222
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) 2014~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 93... Line 93...
93
#如果執行失敗
93
#如果執行失敗
94
if($server["status"]==="false"){
94
if($server["status"]==="false"){
95
 
95
 
96
	#印出結果
96
	#印出結果
97
	echo json_encode($server["error"]);
97
	echo json_encode($server["error"]);
98
	
98
 
99
	#函式說明:
99
	#函式說明:
100
	#撰寫log
100
	#撰寫log
101
	#回傳結果:
101
	#回傳結果:
102
	#$result["status"],狀態,"true"或"false".
102
	#$result["status"],狀態,"true"或"false".
103
	#$result["error"],錯誤訊息陣列.
103
	#$result["error"],錯誤訊息陣列.
Line 117... Line 117...
117
	#無.
117
	#無.
118
	#備註:
118
	#備註:
119
	#無.
119
	#無.
120
	$record=logs::record($conf);
120
	$record=logs::record($conf);
121
	unset($conf);
121
	unset($conf);
122
	
122
 
123
	#結束執行
123
	#結束執行
124
	exit(1);
124
	exit(1);
125
	
125
 
126
	}#if end
126
	}#if end
127
 
127
 
128
#印出結果
128
#印出結果
129
echo json_encode($server["content"]);
-
 
130
129
echo json_encode($server["content"]);
-
 
130