| Conditions | 4 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public static function init() { |
||
| 18 | if (lock::exist('BPT-MULTI-EXEC')) { |
||
| 19 | self::setUpdate(exec::init()); |
||
| 20 | } |
||
| 21 | elseif(lock::exist('BPT-MULTI-CURL')) { |
||
| 22 | self::setUpdate(curl::init()); |
||
| 23 | } |
||
| 24 | else { |
||
| 25 | self::deleteOldLocks(); |
||
| 26 | self::checkURL(); |
||
| 27 | self::setCertificate(); |
||
| 28 | exec::support() ? exec::install() : curl::install(); |
||
| 29 | } |
||
| 40 | } |