From 9eabf3b98c18a76097d155dac1f644eb2432309d Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Mar 2019 23:39:05 +0800 Subject: [PATCH] Update plugins_api.py --- class/core/plugins_api.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/class/core/plugins_api.py b/class/core/plugins_api.py index a6b2b97a7..9fc0aa3ac 100755 --- a/class/core/plugins_api.py +++ b/class/core/plugins_api.py @@ -260,18 +260,6 @@ class plugins_api: import index content = index.getPhpinfo(v) return content - - # self.checkPhpinfoFile(version) - # infoPath = public.getRootDir() + '/phpinfo' - # sPath = infoPath + '/' + version - - # public.execShell('rm -rf ' + infoPath) - # public.execShell('mkdir -p ' + sPath) - # public.writeFile(sPath + '/phpinfo.php', '') - # url = 'http://127.0.0.1/' + version + '/phpinfo.php' - # phpinfo = public.httpGet(url) - # os.system("rm -rf " + infoPath) - # return phpinfo ##### ----- end ----- ### # 进程是否存在