mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
centralized execution ph1
This commit is contained in:
@@ -27,7 +27,7 @@ class phpUtilities:
|
||||
|
||||
try:
|
||||
with open(phpUtilities.installLogPath, 'w') as f:
|
||||
subprocess.call(cmd, stdout=f)
|
||||
ProcessUtilities.executioner(cmd, stdout=f)
|
||||
|
||||
writeToFile = open(phpUtilities.installLogPath, 'a')
|
||||
writeToFile.writelines("PHP Extension Installed.\n")
|
||||
@@ -59,7 +59,7 @@ class phpUtilities:
|
||||
try:
|
||||
|
||||
with open(phpUtilities.installLogPath, 'w') as f:
|
||||
subprocess.call(cmd, stdout=f)
|
||||
ProcessUtilities.executioner(cmd, stdout=f)
|
||||
|
||||
writeToFile = open(phpUtilities.installLogPath, 'a')
|
||||
writeToFile.writelines("PHP Extension Removed.\n")
|
||||
|
||||
Reference in New Issue
Block a user