mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
WP Staging: Skip site url in wp-config.php
This commit is contained in:
@@ -129,6 +129,8 @@ class StagingSetup(multi.Thread):
|
||||
writeToFile.write("define( 'DB_USER', '%s' );\n" % (dbUser))
|
||||
elif items.find('DB_PASSWORD') > -1:
|
||||
writeToFile.write("define( 'DB_PASSWORD', '%s' );\n" % (dbPassword))
|
||||
elif items.find('WP_SITEURL') > -1:
|
||||
continue
|
||||
else:
|
||||
writeToFile.write(items)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user