Skip to content

Commit

Permalink
Merge pull request #633 from midoks/dev
Browse files Browse the repository at this point in the history
Update site.py
  • Loading branch information
midoks authored Dec 12, 2024
2 parents c225570 + 296b1cf commit a77e37a
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 a77e37a

Please sign in to comment.