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