Skip to content

Commit

Permalink
Fix require path in autoload.php to work independently of caller loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
randstring committed Jan 27, 2022
1 parent 06e2ebd commit d74444e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Licensed under the MIT License
* =========================================================================== */

require_once 'functions.php';
require_once __DIR__ . '/functions.php';

spl_autoload_register(function($class){

Expand Down

0 comments on commit d74444e

Please sign in to comment.