Skip to content

Commit

Permalink
Fix lib path in autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfodness committed Mar 30, 2022
1 parent 2d21c99 commit 2d4e8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function autoload( string $class ) {
$dirs = explode( '\\', $class );
$class = array_pop( $dirs );

require_once __DIR__ . '/' . implode( '/', $dirs ) . '/class-' . $class . '.php';
require_once __DIR__ . '/lib/' . implode( '/', $dirs ) . '/class-' . $class . '.php';
}

spl_autoload_register( '\Elasticsearch_Extensions\autoload' );

0 comments on commit 2d4e8ad

Please sign in to comment.