| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 13 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 23 | public function __construct($config)  | 
            ||
| 24 |     { | 
            ||
| 25 | $options = Solr::solr_options();  | 
            ||
| 26 | |||
| 27 |         $this->url = implode('', [ | 
            ||
| 28 | 'http://',  | 
            ||
| 29 | isset($config['auth']) ? $config['auth'] . '@' : '',  | 
            ||
| 30 | $options['host'] . ':' . $options['port'],  | 
            ||
| 31 | $config['path']  | 
            ||
| 32 | ]);  | 
            ||
| 33 | |||
| 34 |         if (isset($config['remotepath'])) { | 
            ||
| 35 | $this->remote = $config['remotepath'];  | 
            ||
| 36 | }  | 
            ||
| 78 |