mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
remove php 71
This commit is contained in:
@@ -1988,8 +1988,8 @@ milter_default_action = accept
|
||||
if os.access('/usr/local/lsws/lsphp72/bin/php7.2', os.R_OK):
|
||||
os.symlink('/usr/local/lsws/lsphp72/bin/php7.2', '/usr/local/lsws/lsphp72/bin/php')
|
||||
|
||||
command = "cp /usr/local/lsws/lsphp71/bin/php /usr/bin/"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
#command = "cp /usr/local/lsws/lsphp71/bin/php /usr/bin/"
|
||||
#preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
os.chdir(self.cwd)
|
||||
|
||||
|
||||
@@ -2181,8 +2181,8 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
||||
CentOSPath = '/etc/redhat-release'
|
||||
|
||||
if not os.path.exists(CentOSPath):
|
||||
command = 'cp /usr/local/lsws/lsphp71/bin/php /usr/bin/'
|
||||
Upgrade.executioner(command, 'Set default PHP 7.0, 0')
|
||||
#command = 'cp /usr/local/lsws/lsphp71/bin/php /usr/bin/'
|
||||
#Upgrade.executioner(command, 'Set default PHP 7.0, 0')
|
||||
|
||||
@staticmethod
|
||||
def someDirectories():
|
||||
|
||||
Reference in New Issue
Block a user