main
parent
ece03017fa
commit
2e4f4f9588
@ -1,6 +1,6 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
final class Configure { |
final class configure { |
||||||
private static $config = array(); |
private static $config = array(); |
||||||
protected function __construct() { } |
protected function __construct() { } |
||||||
|
|
||||||
@ -1,14 +1,14 @@ |
|||||||
<?php |
<?php |
||||||
Configure::set('display', true); // Show Output |
configure::set('display', true); // Show Output |
||||||
Configure::set('logfile', true); // Save to log folder |
configure::set('logfile', true); // Save to log folder |
||||||
Configure::set('syslog', false); |
configure::set('syslog', false); |
||||||
|
|
||||||
//do_command('service', 'mysql', 'stop'); |
//do_command('service', 'mysql', 'stop'); |
||||||
|
|
||||||
force_root(); |
force_root(); |
||||||
|
|
||||||
$my_key = read_file("/etc/neato_secrets/mysql_key"); |
$my_key = read_file("/etc/neato_secrets/mysql_key"); |
||||||
$o = Enc::decode_file($cwd . "/my_vaults/mysql_secrets", $my_key); |
$o = enc::decode_file($cwd . "/my_vaults/mysql_secrets", $my_key); |
||||||
echo $o->root; |
echo $o->root; |
||||||
|
|
||||||
//do_command('service', 'mysql', 'start'); |
//do_command('service', 'mysql', 'start'); |
||||||
|
|||||||
Loading…
Reference in new issue