Update index.py

This commit is contained in:
Mr Chen
2024-07-20 14:16:58 +08:00
parent e90c4a0e19
commit ab939aa359
+2
View File
@@ -193,6 +193,8 @@ def getInstalledPhpConfDir():
if os.path.exists(php_install_dir):
if pt == 'php-apt':
return pt + ver[0:1]+'.'+ver[1:2]
if pt == 'php':
return pt + '-' + ver
return pt + ver
return 'php-80'