From 7ad235bba1bd59f6545012a254206b134764e82d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 13 Jun 2024 20:33:08 +0800 Subject: [PATCH] update --- plugins/php-apt/index.py | 11 +++++++++++ plugins/php-apt/js/php.js | 2 ++ 2 files changed, 13 insertions(+) diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index c3fb79a55..134bf2d6b 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -803,6 +803,13 @@ def uninstallLib(version): else: return mw.returnJson(False, '卸载错误信息!:' + data[1]) +def getConfAppStart(): + pstart = mw.getServerDir() + '/php/app_start.php' + return pstart + +def opcacheBlacklistFile(): + op_bl = mw.getServerDir() + '/php/opcache-blacklist.txt' + return op_bl def installPreInspection(version): sys = mw.execShell( @@ -857,6 +864,10 @@ if __name__ == "__main__": print(fpmSlowLog(version)) elif func == 'conf': print(getConf(version)) + elif func == 'app_start': + print(getConfAppStart()) + elif func == 'opcache_blacklist_file': + print(opcacheBlacklistFile()) elif func == 'get_php_conf': print(getPhpConf(version)) elif func == 'get_fpm_conf_file': diff --git a/plugins/php-apt/js/php.js b/plugins/php-apt/js/php.js index fce1ab94a..cde92e5c5 100755 --- a/plugins/php-apt/js/php.js +++ b/plugins/php-apt/js/php.js @@ -137,6 +137,8 @@ function phpCommonFunc(version){ // \ con += '

\ \ + \ + \ \

';