Merge pull request #15 from kinglozzer/patch-2

FIX: SolrCellTextExtractor always reporting itself as unavailable (fixes #14)
This commit is contained in:
Damian Mooyman 2015-07-02 12:00:48 +12:00
commit 832437e4bf

View File

@ -39,7 +39,7 @@ class SolrCellTextExtractor extends FileTextExtractor {
public function isAvailable() {
$url = $this->config()->get('base_url');
if(!$url) return false;
return (boolean) $url;
}
public function supportsExtension($extension) {