Subversion Repositories php-qbpwcf

Rev

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

Rev 81 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) 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 79... Line 79...
79
	#無.
79
	#無.
80
	#備註:
80
	#備註:
81
	#無.
81
	#無.
82
	$record=logs::record($conf);
82
	$record=logs::record($conf);
83
	unset($conf);
83
	unset($conf);
84
	
84
 
85
	#如果寫log失敗
85
	#如果寫log失敗
86
	if($record["status"]==="false"){
86
	if($record["status"]==="false"){
87
	
87
 
88
		#印出結果
88
		#印出結果
89
		var_dump($record);
89
		var_dump($record);
90
	
90
 
91
		}#if end
91
		}#if end
92
	
92
 
93
	#結束執行,回傳錯誤代碼1
93
	#結束執行,回傳錯誤代碼1
94
	exit(1);
94
	exit(1);
95
 
95
 
96
	}#if end
96
	}#if end
97
	
97
 
98
#如果不是分成兩段
98
#如果不是分成兩段
99
if($spiltString["dataCounts"]!==2){
99
if($spiltString["dataCounts"]!==2){
100
 
100
 
101
	#函式說明:
101
	#函式說明:
102
	#撰寫log
102
	#撰寫log
Line 119... Line 119...
119
	#無.
119
	#無.
120
	#備註:
120
	#備註:
121
	#無.
121
	#無.
122
	$record=logs::record($conf);
122
	$record=logs::record($conf);
123
	unset($conf);
123
	unset($conf);
124
	
124
 
125
	#如果寫log失敗
125
	#如果寫log失敗
126
	if($record["status"]==="false"){
126
	if($record["status"]==="false"){
127
	
127
 
128
		#印出結果
128
		#印出結果
129
		var_dump($record);
129
		var_dump($record);
130
	
130
 
131
		}#if end
131
		}#if end
132
	
132
 
133
	#結束執行,回傳錯誤代碼1
133
	#結束執行,回傳錯誤代碼1
134
	exit(1);
134
	exit(1);
135
 
135
 
136
	}#if end
136
	}#if end
137
 
137
 
Line 214... Line 214...
214
	#無.
214
	#無.
215
	#備註:
215
	#備註:
216
	#無.
216
	#無.
217
	$record=logs::record($conf);
217
	$record=logs::record($conf);
218
	unset($conf);
218
	unset($conf);
219
	
219
 
220
	#如果寫log失敗
220
	#如果寫log失敗
221
	if($record["status"]==="false"){
221
	if($record["status"]==="false"){
222
	
222
 
223
		#印出結果
223
		#印出結果
224
		var_dump($record);
224
		var_dump($record);
225
	
225
 
226
		}#if end
226
		}#if end
227
	
227
 
228
	#結束執行,回傳錯誤代碼1
228
	#結束執行,回傳錯誤代碼1
229
	exit(1);
229
	exit(1);
230
 
230
 
231
	}#if end
231
	}#if end
232
	
-
 
233
?>
-
 
234
232
 
-
 
233
?>
-
 
234