From 7542c0fdf007832a523438d328ec86d222ad532c Mon Sep 17 00:00:00 2001 From: Wolfgang Ziegler // fago Date: Tue, 19 Mar 2019 00:29:46 +0100 Subject: [PATCH] Support even more nested installations. --- bin/request-matcher-site-variables | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/request-matcher-site-variables b/bin/request-matcher-site-variables index 44d38ab..ed6936f 100755 --- a/bin/request-matcher-site-variables +++ b/bin/request-matcher-site-variables @@ -16,6 +16,10 @@ elseif (is_file($autoload = __DIR__ . '/../../vendor/autoload.php')) { elseif (is_file($autoload = __DIR__ . '/../../../vendor/autoload.php')) { require($autoload); } +elseif (is_file($autoload = __DIR__ . '/../../../../../vendor/autoload.php')) { + require($autoload); +} + echo \drunomics\MultisiteRequestMatcher\RequestMatcher::getInstance() ->getSiteVariables();