mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-03 19:00:45 +01:00
remove php 71
This commit is contained in:
@@ -2339,9 +2339,10 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
||||
CentOSPath = '/etc/redhat-release'
|
||||
openEulerPath = '/etc/openEuler-release'
|
||||
|
||||
if not os.path.exists(CentOSPath) or not os.path.exists(openEulerPath):
|
||||
command = 'cp /usr/local/lsws/lsphp71/bin/php /usr/bin/'
|
||||
Upgrade.executioner(command, 'Set default PHP 7.0, 0')
|
||||
#if not os.path.exists(CentOSPath) or not os.path.exists(openEulerPath):
|
||||
#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