mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
bug fix: save config php ls
This commit is contained in:
@@ -573,7 +573,7 @@ class ApacheVhost:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def DecidePHPPathforManager(apache, phpVers):
|
def DecidePHPPathforManager(apache, phpVers):
|
||||||
if apache == 0:
|
if apache == 0 or apache == None:
|
||||||
phpVers = "php" + PHPManager.getPHPString(phpVers)
|
phpVers = "php" + PHPManager.getPHPString(phpVers)
|
||||||
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
||||||
path = "/usr/local/lsws/ls" + phpVers + "/etc/php.ini"
|
path = "/usr/local/lsws/ls" + phpVers + "/etc/php.ini"
|
||||||
|
|||||||
Reference in New Issue
Block a user