bug fix: managePHP/views.py

This commit is contained in:
Usman Nasir
2020-05-24 22:52:48 +05:00
parent 183e55bdeb
commit 74ac832a44

View File

@@ -1085,7 +1085,7 @@ def installExtensions(request):
phpPath = '' phpPath = ''
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8 if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
phpPath = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'php70.xml') phpPath = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'php70.xml')
else: else:
phpPath = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'ubuntuphp70.xml') phpPath = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'ubuntuphp70.xml')