mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
WIP fix solr path to use DIR, avoid hardcoded module name
This commit is contained in:
parent
19b38e0811
commit
26b629a6cd
@ -154,7 +154,7 @@ class Solr
|
||||
static $included = false;
|
||||
|
||||
if (!$included) {
|
||||
$solr_php_path = BASE_PATH . DIRECTORY_SEPARATOR . 'fulltextsearch/thirdparty/solr-php-client';
|
||||
$solr_php_path = __DIR__. '/../..' . '/thirdparty/solr-php-client';
|
||||
set_include_path($solr_php_path);
|
||||
require_once($solr_php_path . DIRECTORY_SEPARATOR . 'Apache/Solr/Service.php');
|
||||
require_once($solr_php_path . DIRECTORY_SEPARATOR . 'Apache/Solr/Document.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user