| Conditions | 5 |
| Paths | 16 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | private function directConfig($arr) |
||
| 56 | {
|
||
| 57 | require dirname(__DIR__, 2)."/config/config.php"; |
||
| 58 | |||
| 59 | $this->length = isset($arr['length']) ? $arr['length']:$config['length']; |
||
| 60 | $this->segment = isset($arr['segment']) ? $arr['segment']:$config['segment']; |
||
| 61 | $this->seperator = isset($arr['seperator']) ? $arr['seperator']:$config['seperator']; |
||
| 62 | $this->charset = isset($arr['charset']) ? $arr['charset']:$config['charset']; |
||
| 63 | } |
||
| 67 |