Skip to content

Commit

Permalink
Merge pull request #91 from Matt75/require-module-autoload
Browse files Browse the repository at this point in the history
Adds require module autoload
  • Loading branch information
Matt75 authored Jun 22, 2020
2 parents ed4b06b + 0005418 commit 9df3ce2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions psgdpr.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
exit;
}

$autoloadPath = __DIR__ . '/vendor/autoload.php';
if (file_exists($autoloadPath)) {
require_once $autoloadPath;
}

class Psgdpr extends Module
{
public $adminControllers = [
Expand Down

0 comments on commit 9df3ce2

Please sign in to comment.