Subversion Repositories php-qbpwcf

Rev

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

Rev 3 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
/*
25
/*
26
說明:
26
說明:
27
將指定的svn目錄輸出、打包、壓縮、上傳到目標Server,然後解壓縮、安裝、移除伺服端跟local端安裝檔案.
27
將指定的svn目錄輸出、打包、壓縮、上傳到目標Server,然後解壓縮、安裝、移除伺服端跟local端安裝檔案.
Line 69... Line 69...
69
	#結束執行,回傳shell 1.
69
	#結束執行,回傳shell 1.
70
	exit(1);
70
	exit(1);
71
 
71
 
72
	}#if end
72
	}#if end
73
 
73
 
74
#設置 include path 
74
#設置 include path
75
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
75
set_include_path($output[0].PATH_SEPARATOR.get_include_path());
76
 
76
 
77
#匯入外部套件
77
#匯入外部套件
78
include("allInOne.php");
78
include("allInOne.php");
79
 
79
 
Line 92... Line 92...
92
#網站伺服器端需要有安裝openssh-server,zstd套件.
92
#網站伺服器端需要有安裝openssh-server,zstd套件.
93
#待測試
93
#待測試
94
#建議將svn預先輸入密碼的功能分離出來
94
#建議將svn預先輸入密碼的功能分離出來
95
cmd::packetFromSvnToRemoteServer();
95
cmd::packetFromSvnToRemoteServer();
96
 
96
 
97
?>
-
 
98
97
?>
-
 
98