Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function __construct() |
||
26 | { |
||
27 | $this->phiberConfig = new JsonReader(BASE_DIR . "/phiber_config.json"); |
||
28 | |||
29 | if (!empty(glob(dirname(__DIR__, 4) . "/phiber_config.json")[0])) { |
||
30 | $this->phiberConfig = new JsonReader(glob(dirname(__DIR__, 4) . "/phiber_config.json")[0]); |
||
31 | } |
||
32 | } |
||
33 | |||
46 | } |