Skip to content

Commit 2914fb1

Browse files
committed
Fix installation via Composer
1 parent d82a47e commit 2914fb1

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [2.0.1] - 2019-02-21
5+
### Fixed
6+
- Error when loading the `vendor/autoload.php` file in Composer installation.
7+
48
## [2.0.0] - 2019-02-21
59
This version adds support to Kirby 3. All options remain and work in the same way as they did in Kirby 2.
610

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
"psr-4": {
2424
"PedroBorges\\KirbyMetaTags\\": "src/"
2525
}
26+
},
27+
"extra": {
28+
"installer-name": "meta-tags"
2629
}
2730
}

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once __DIR__.'/vendor/autoload.php';
3+
@include_once __DIR__.'/vendor/autoload.php';
44

55
Kirby::plugin('pedroborges/meta-tags', [
66
'pageMethods' => [

0 commit comments

Comments
 (0)