Skip to content

Commit

Permalink
Merge pull request #43 from ecaron/patch-1
Browse files Browse the repository at this point in the history
Avoid "Cannot declare class ElasticPressLabs" error
  • Loading branch information
felipeelia authored Feb 27, 2023
2 parents 3da562b + bbf80df commit 4238285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Feature/ElasticPressLabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private function register_subfeatures() {
);

foreach ( $features_files as $filename ) {
require ELASTICPRESS_LABS_INC . 'classes/Feature/' . basename( $filename );
require_once ELASTICPRESS_LABS_INC . 'classes/Feature/' . basename( $filename );

$class_name = 'ElasticPressLabs\Feature\\' . basename( $filename, '.php' );

Expand Down

0 comments on commit 4238285

Please sign in to comment.