Skip to content

Commit

Permalink
Update site.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 12, 2024
1 parent 4b1db3d commit 296b1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/utils/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -2484,6 +2484,8 @@ def getPhpVersion(self):

# 其他PHP安装类型
conf_dir = mw.getServerDir() + "/web_conf/php/conf"
if not os.path.exists(conf_dir):
return data
conf_list = os.listdir(conf_dir)
l = len(conf_list)
rep = r"enable-php-(.*?)\.conf"
Expand Down

0 comments on commit 296b1cf

Please sign in to comment.