Skip to content

Commit

Permalink
Merge pull request #444 from barryhughes/patch-1
Browse files Browse the repository at this point in the history
Tab in the readme.txt code block
  • Loading branch information
danielbachhuber authored Mar 27, 2020
2 parents cd172cb + 15f66b9 commit d9dc360
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@ Alternatively, there are a couple of community-maintained Docker containers you

In a local development environment, you can point Solr Power to a custom Solr instance by creating a MU plugin with:

```
<?php
/**
* Define Solr host IP, port, scheme and path
* Update these as necessary if your configuration differs
*/
putenv( 'PANTHEON_INDEX_HOST=192.168.50.4' );
putenv( 'PANTHEON_INDEX_PORT=8983' );
add_filter( 'solr_scheme', function(){ return 'http'; });
define( 'SOLR_PATH', '/solr/wordpress/' );
```
<?php
/**
* Define Solr host IP, port, scheme and path
* Update these as necessary if your configuration differs
*/
putenv( 'PANTHEON_INDEX_HOST=192.168.50.4' );
putenv( 'PANTHEON_INDEX_PORT=8983' );
add_filter( 'solr_scheme', function(){ return 'http'; });
define( 'SOLR_PATH', '/solr/wordpress/' );

== Development ==

Expand Down

0 comments on commit d9dc360

Please sign in to comment.