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 216... Line 216...
216
	#無.
216
	#無.
217
	#備註:
217
	#備註:
218
	#無.
218
	#無.
219
	$record=logs::record($conf);
219
	$record=logs::record($conf);
220
	unset($conf);
220
	unset($conf);
221
	
221
 
222
	#如果寫log失敗
222
	#如果寫log失敗
223
	if($record["status"]==="false"){
223
	if($record["status"]==="false"){
224
	
224
 
225
		#印出結果
225
		#印出結果
226
		var_dump($record);
226
		var_dump($record);
227
	
227
 
228
		}#if end
228
		}#if end
229
	
229
 
230
	#結束執行,回傳錯誤代碼1
230
	#結束執行,回傳錯誤代碼1
231
	exit(1);
231
	exit(1);
232
 
232
 
233
	}#if end
233
	}#if end
234
	
-
 
235
?>
-
 
236
234
 
-
 
235
?>
-
 
236