BUG Fix incorrect installer base tag generation (#8018)

Fixes #7926
This commit is contained in:
Damian Mooyman 2018-04-24 10:53:08 +12:00 committed by Aaron Carlino
parent 73d31d4797
commit b07e13d2f8
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>SilverStripe CMS / Framework Installation</title>
<base href="<?php echo htmlentities($base); ?>/" />
<base href="<?php echo htmlentities($base); ?>" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script type="application/javascript" src="//code.jquery.com/jquery-1.7.2.min.js"></script>
<script type="application/javascript" src="<?=$clientPath; ?>/js/install.js"></script>

View File

@ -105,7 +105,7 @@ if ($installFromCli && ($req->hasErrors() || $dbReq->hasErrors())) {
}
// Path to client resources (copied through silverstripe/vendor-plugin)
$base = BASE_URL;
$base = rtrim(BASE_URL, '/') . '/';
$clientPath = PUBLIC_DIR
? 'resources/vendor/silverstripe/framework/src/Dev/Install/client'
: 'resources/silverstripe/framework/src/Dev/Install/client';