| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function __construct() |
||
| 14 | { |
||
| 15 | $this->repository = new Ajde_Config_Repository(CONFIG_DIR); |
||
| 16 | |||
| 17 | if ($this->repository->get("security.secret") === '_RANDOM_12_16_OR_32_CHAR_STRING_') { |
||
| 18 | Ajde_Dump::warn('Using unsafe secret: your app is insecure. See security.json'); |
||
| 19 | } |
||
| 20 | } |
||
| 21 | |||
| 73 |