mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-14 19:42:06 +01:00
bug fix: phpmyadmin
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
command = 'postqueue -j'
|
||||
|
||||
result = subprocess.check_output(command, shell=True).decode().split('\n')
|
||||
|
||||
result = result[0]
|
||||
|
||||
data = json.loads(result)
|
||||
|
||||
print(data['queue_name'])
|
||||
@@ -203,7 +203,7 @@ class Upgrade:
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
command = 'mv /usr/local/CyberCP/public/phpMyAdmin-*-all-languages /usr/local/CyberCP/public/phpmyadmin'
|
||||
Upgrade.executioner(command, 0)
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
command = 'rm -f /usr/local/CyberCP/public/phpmyadmin.zip'
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
Reference in New Issue
Block a user