move exec() and file name to cfg
This commit is contained in:
parent
b6fe91d20f
commit
2744ab588e
@ -4,7 +4,6 @@
|
||||
require 'getwebsites.cfg.php';
|
||||
|
||||
// Get password from the "pass" utility.
|
||||
exec('/usr/bin/pass ls megaphone/crm/restpassword', $password);
|
||||
$password = $password[0];
|
||||
$headers = login($password);
|
||||
|
||||
@ -36,7 +35,6 @@ foreach ($websites as $website) {
|
||||
|
||||
ksort($websiteList);
|
||||
|
||||
$aliasesFile = '/etc/wp-cli.yml';
|
||||
$yaml = yaml_emit_file($aliasesFile, $websiteList);
|
||||
|
||||
var_dump($yaml);
|
||||
|
Loading…
Reference in New Issue
Block a user