Skip to content

Commit

Permalink
FIX Require Lookup directly to avoid needing PSR-4 autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Jun 26, 2017
1 parent 571833b commit af73e5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/search/lookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

require_once __DIR__ . '/../../vendor/autoload.php';

// 2017-06-27: Cannot run composer dump-autoload on SSP
require_once __DIR__ . '/../../src/Lookup.php';

$lookup = new SilverStripe\ApiDocs\Lookup($_GET);

$lookup->setVersionMap(array(
Expand Down

0 comments on commit af73e5a

Please sign in to comment.