Subversion Repositories php-qbpwcf

Rev

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

Rev 168 Rev 226
Line 1... Line 1...
1
#!/usr/bin/php
1
#!/usr/bin/php
2
<?php
2
<?php
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 17... Line 17...
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
    GNU General Public License for more details.
18
    GNU General Public License for more details.
19
 
19
 
20
    You should have received a copy of the GNU General Public License
20
    You should have received a copy of the GNU General Public License
21
    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.
21
    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.
22
    
22
 
23
*/
23
*/
24
 
24
 
25
#300986
25
#300986
26
#321099
26
#321099
27
#sed -n '3000,3999p' filename
27
#sed -n '3000,3999p' filename
Line 59... Line 59...
59
	#結束執行,回傳shell 1.
59
	#結束執行,回傳shell 1.
60
	exit(1);
60
	exit(1);
61
 
61
 
62
	}#if end
62
	}#if end
63
 
63
 
64
#設置 include path 
64
#設置 include path
65
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
65
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
66
 
66
 
67
#匯入外部套件
67
#匯入外部套件
68
include("allInOne.php");
68
include("allInOne.php");
69
 
69
 
Line 157... Line 157...
157
#如果執行失敗
157
#如果執行失敗
158
if($callShell["status"]==="false"){
158
if($callShell["status"]==="false"){
159
 
159
 
160
	#印出內容
160
	#印出內容
161
	var_dump($callShell);
161
	var_dump($callShell);
162
	
162
 
163
	#結束執行
163
	#結束執行
164
	exit;
164
	exit;
165
 
165
 
166
	}#if end
166
	}#if end
167
 
167