diff --git a/public/index.php b/public/index.php
index 7708cc8..74b1342 100644
--- a/public/index.php
+++ b/public/index.php
@@ -10,7 +10,9 @@
/* Added by Andy - check to see if Composer/vendors are installed */
if (!file_exists(__DIR__.'/../vendor/autoload.php'))
{
- header('Location: bootstrap/');
+ $currentUrl = $_SERVER['PHP_SELF']; // e.g. /some/directory/index.php
+ $bootstrapUrl = sprintf('%sbootstrap', dirname($currentUrl));
+ header(sprintf('Location: %s', $bootstrapUrl));
exit();
}
/* End Added by Andy */
diff --git a/resources/views/install/layout.blade.php b/resources/views/install/layout.blade.php
index 7a46708..746afd6 100644
--- a/resources/views/install/layout.blade.php
+++ b/resources/views/install/layout.blade.php
@@ -15,6 +15,7 @@
{{-- As these files are shipped with core (not a theme) use the main app.version instead of the current theme's version --}}
@if (App::environment() == 'production')
+
@else
@endif