From a38efe6e9053fd36e39101506213f65b09ef6f91 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 6 May 2015 12:13:40 +0930 Subject: [PATCH] Use absolute autoload path --- extensions/tags/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/bootstrap.php b/extensions/tags/bootstrap.php index 72ad85c3d..51ea032cf 100644 --- a/extensions/tags/bootstrap.php +++ b/extensions/tags/bootstrap.php @@ -2,7 +2,7 @@ // Require the extension's composer autoload file. This will enable all of our // classes in the src directory to be autoloaded. -require 'vendor/autoload.php'; +require __DIR__.'/vendor/autoload.php'; // Register our service provider with the Flarum application. In here we can // register bindings and execute code when the application boots.