mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
wp manager cmplt
This commit is contained in:
@@ -1646,6 +1646,14 @@ class backupUtilities:
|
||||
command = "wp search-replace '%s' '%s' --path=%s --allow-root" % (self.extraArgs['sourceDomain'], self.extraArgs['domain'], path)
|
||||
ProcessUtilities.outputExecutioner(command)
|
||||
|
||||
command = "wp search-replace 'www.%s' '%s' --path=%s --allow-root" % (
|
||||
self.extraArgs['sourceDomain'], self.extraArgs['domain'], path)
|
||||
ProcessUtilities.outputExecutioner(command)
|
||||
|
||||
command = "wp search-replace 'www.%s' '%s' --path=%s --allow-root" % (
|
||||
self.extraArgs['domain'], self.extraArgs['domain'], path)
|
||||
ProcessUtilities.outputExecutioner(command)
|
||||
|
||||
|
||||
command = 'rm -rf %s' % (self.extractedPath)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
Reference in New Issue
Block a user