move wp-cli executable
This commit is contained in:
@@ -20,7 +20,7 @@ class WOVariables():
|
|||||||
# Get WPCLI path
|
# Get WPCLI path
|
||||||
wo_wpcli_path = os.popen('command -v wp | tr "\n" " "').read()
|
wo_wpcli_path = os.popen('command -v wp | tr "\n" " "').read()
|
||||||
if wo_wpcli_path == '':
|
if wo_wpcli_path == '':
|
||||||
wo_wpcli_path = '/usr/bin/wp '
|
wo_wpcli_path = '/usr/local/bin/wp '
|
||||||
|
|
||||||
# Current date and time of System
|
# Current date and time of System
|
||||||
wo_date = datetime.datetime.now().strftime('%d%b%Y%H%M%S')
|
wo_date = datetime.datetime.now().strftime('%d%b%Y%H%M%S')
|
||||||
|
|||||||
Reference in New Issue
Block a user