* 判断文件是否存在后,删除
* @access private
* @param string $path
* @return bool
* @author byron sampson <xiaobo.sun@qq.com>
* @return boolean
*/
private function unlink($path)
{
return is_file($path) && unlink($path);
}
}
USER | www |
HOME | /home/www |
HTTP_HOST | mit.51dongshi.com |
HTTP_USER_AGENT | |
HTTP_ACCEPT_LANGUAGE | zh-CN |
HTTP_ACCEPT | */* |
HTTP_CONNECTION | Keep-Alive |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | mit.51dongshi.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.0.4 |
REMOTE_PORT | 60010 |
REMOTE_ADDR | 172.17.0.12 |
SERVER_SOFTWARE | nginx/1.22.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroots/wwwroot/51dongshi/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /dadars/rdbvgcs/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/dadars/rdbvgcs/ |
SCRIPT_FILENAME | /www/wwwroots/wwwroot/51dongshi/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1706352121.3916 |
REQUEST_TIME | 1706352121 |
ROOT_PATH | /www/wwwroots/wwwroot/51dongshi/public/../ |
APP_PATH | /www/wwwroots/wwwroot/51dongshi/public/../application/ |
PUBLIC_PATH | /www/wwwroots/wwwroot/51dongshi/public/../public/ |
EXTEND_PATH | /www/wwwroots/wwwroot/51dongshi/public/../extend/ |
DS | / |