You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
446 B
16 lines
446 B
<?php
|
|
Configure::set('display', true); // Show Output
|
|
Configure::set('logfile', true); // Save to log folder
|
|
Configure::set('syslog', false);
|
|
|
|
//doCommand('service', 'mysql', 'stop');
|
|
|
|
force_root();
|
|
|
|
$my_key = read_file("/etc/neato_secrets/mysql_key");
|
|
|
|
/** @phpstan-ignore-next-line Variable $cwd might not be defined */
|
|
$o = Enc::decodeFile($cwd . "/my_vaults/mysql_secrets", $my_key);
|
|
echo $o->root;
|
|
|
|
//doCommand('service', 'mysql', 'start');
|
|
|