Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | "callback" => function () { |
||
12 | $keystore = new \Lefty\KeyStore\KeyStore(); |
||
13 | $keystore->setDI($this); |
||
|
|||
14 | |||
15 | // Load the configuration files |
||
16 | $cfg = $this->get("configuration"); |
||
17 | $config = $cfg->load("keystore.php"); |
||
18 | $keys = $config["config"]["keys"]; |
||
19 | // var_dump($keys); |
||
20 | // $keys = require ANAX_INSTALL_PATH . "/config/keystore.php"; |
||
21 | $keystore->setKeys($keys); |
||
22 | // var_dump($keystore); |
||
23 | |||
24 | return $keystore; |
||
25 | } |
||
29 |