Skip to content

Commit

Permalink
Fix composer installer location
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Vandeputte committed Mar 22, 2019
1 parent 0bb08ee commit 9dd3b0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
"workers",
"tasks",
"background tasks"
]
],
"require": {
"getkirby/composer-installer": "^1.1"
},
"config": {
"optimize-autoloader": true
}
}
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
require __DIR__ . DS . "src" . DS . "classes" . DS . "Queue.php";
require __DIR__ . DS . "src" . DS . "classes" . DS . "Queueworker.php";

// For composer
@include_once __DIR__ . '/vendor/autoload.php';

Kirby::plugin('bvdputte/kirbyqueue', [
'options' => [
'root' => 'queues',
Expand Down

0 comments on commit 9dd3b0f

Please sign in to comment.