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 223
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 131... Line 131...
131
 
131
 
132
		#結束執行回傳 1 給 shell
132
		#結束執行回傳 1 給 shell
133
		exit(1);
133
		exit(1);
134
 
134
 
135
		}#if end
135
		}#if end
136
	
136
 
137
	#如果已經停止運行
137
	#如果已經停止運行
138
	if($getProcInfo["content"]["running"]==="false"){
138
	if($getProcInfo["content"]["running"]==="false"){
139
	
139
 
140
		#debug
140
		#debug
141
		var_dump($getProcInfo);
141
		var_dump($getProcInfo);
142
	
142
 
143
		#結束執行
143
		#結束執行
144
		break;
144
		break;
145
	
145
 
146
		}#if end
146
		}#if end
147
		
147
 
148
	#休息1秒
148
	#休息1秒
149
	sleep(1);
149
	sleep(1);
150
 
150
 
151
	}#whlie end
151
	}#whlie end
152
 
152