Subversion Repositories php-qbpwcf

Rev

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

Rev 97 Rev 224
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~2024 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 105... Line 105...
105
	#無.
105
	#無.
106
	#備註:
106
	#備註:
107
	#無.
107
	#無.
108
	$record=logs::record($conf);
108
	$record=logs::record($conf);
109
	unset($conf);
109
	unset($conf);
110
	
110
 
111
	#如果寫log失敗
111
	#如果寫log失敗
112
	if($record["status"]==="false"){
112
	if($record["status"]==="false"){
113
	
113
 
114
		#印出結果
114
		#印出結果
115
		var_dump($record);
115
		var_dump($record);
116
	
116
 
117
		}#if end
117
		}#if end
118
	
118
 
119
	#結束執行,回傳錯誤代碼1
119
	#結束執行,回傳錯誤代碼1
120
	exit(1);
120
	exit(1);
121
 
121
 
122
	}#if end
122
	}#if end
123
	
123
 
124
#印出結果
124
#印出結果
125
var_dump($delStrAfterKeyWord);
125
var_dump($delStrAfterKeyWord);
126
 
126
 
127
#函式說明:
127
#函式說明:
128
#將字串特定關鍵字與其後面的內容剔除
128
#將字串特定關鍵字與其後面的內容剔除
Line 174... Line 174...
174
	#無.
174
	#無.
175
	#備註:
175
	#備註:
176
	#無.
176
	#無.
177
	$record=logs::record($conf);
177
	$record=logs::record($conf);
178
	unset($conf);
178
	unset($conf);
179
	
179
 
180
	#如果寫log失敗
180
	#如果寫log失敗
181
	if($record["status"]==="false"){
181
	if($record["status"]==="false"){
182
	
182
 
183
		#印出結果
183
		#印出結果
184
		var_dump($record);
184
		var_dump($record);
185
	
185
 
186
		}#if end
186
		}#if end
187
	
187
 
188
	#結束執行,回傳錯誤代碼1
188
	#結束執行,回傳錯誤代碼1
189
	exit(1);
189
	exit(1);
190
 
190
 
191
	}#if end
191
	}#if end
192
	
192
 
193
#印出結果
193
#印出結果
194
var_dump($delStrAfterKeyWord);
194
var_dump($delStrAfterKeyWord);
195
 
195
 
196
?>
-
 
197
196
?>
-
 
197