Skip to content

Commit

Permalink
Merge pull request #110 from randstring/master
Browse files Browse the repository at this point in the history
Fix require path in autoload.php to work from any location
  • Loading branch information
sorinsarca committed Jan 27, 2022
2 parents 06e2ebd + d74444e commit 3d81e43
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 3d81e43

Please sign in to comment.