Skip to content

Commit

Permalink
Update index_php.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jan 3, 2025
1 parent 11d245d commit 4629d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/php/index_php.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def libConfCommon(version):
if phpini.find(lib['check']) > -1:
lib['status'] = True
sofile = ext_dir+"/"+lib['check']
# 自定义,比较特殊的方式
if os.path.exists(sofile):
# print(os.path.getsize(sofile))
if os.path.getsize(sofile) == 7:
lib['status'] = True
libs.append(lib)
Expand Down

0 comments on commit 4629d39

Please sign in to comment.