Skip to content

Commit

Permalink
Adjusted scope of autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-j-m committed Feb 29, 2020
1 parent 2264663 commit b70e3b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.0.3
## 29-02-2020

1. [](#bugfix)
* Adjusted scope of autoloader so it will not interfere with other 'Aura' prefixed plugins

# v1.0.2
## 09-02-2020

Expand Down
2 changes: 1 addition & 1 deletion aura.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function onPluginsInitialized()

// Autoloader
spl_autoload_register(function ($class) {
if (Utils::startsWith($class, 'Grav\Plugin\Aura')) {
if (Utils::startsWith($class, 'Grav\Plugin\Aura\\')) {
require_once __DIR__ .'/classes/' . strtolower(basename(str_replace("\\", '/', $class))) . '.php';
}
});
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Aura
version: 1.0.2
version: 1.0.3
description: Automatically add meta tags and structured data to your pages for visually appealing and informative search results and social media sharing.
icon: code
author:
Expand Down
4 changes: 0 additions & 4 deletions languages.yaml

This file was deleted.

0 comments on commit b70e3b7

Please sign in to comment.