From f0a077f2b420199acc18b5155470ee6c5e696c64 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 14 Sep 2014 16:17:52 +0200 Subject: [PATCH] Fixed vendor autoloader placement --- public_html/api-dispatch.php | 2 -- src/AutoLoader.php | 2 ++ upgrade.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public_html/api-dispatch.php b/public_html/api-dispatch.php index ae325a0c..005e2848 100644 --- a/public_html/api-dispatch.php +++ b/public_html/api-dispatch.php @@ -1,8 +1,6 @@ run(); diff --git a/src/AutoLoader.php b/src/AutoLoader.php index a6bb1d95..2a6890b9 100644 --- a/src/AutoLoader.php +++ b/src/AutoLoader.php @@ -24,3 +24,5 @@ final class AutoLoader } AutoLoader::init(); + +require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'); diff --git a/upgrade.php b/upgrade.php index 765e10c6..fd3ac130 100644 --- a/upgrade.php +++ b/upgrade.php @@ -1,5 +1,4 @@