Improved Bootstrap experience and services improvements #154
@ -10,7 +10,9 @@
|
|||||||
/* Added by Andy - check to see if Composer/vendors are installed */
|
/* Added by Andy - check to see if Composer/vendors are installed */
|
||||||
if (!file_exists(__DIR__.'/../vendor/autoload.php'))
|
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();
|
exit();
|
||||||
}
|
}
|
||||||
/* End Added by Andy */
|
/* End Added by Andy */
|
||||||
|
@ -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 --}}
|
{{-- 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')
|
@if (App::environment() == 'production')
|
||||||
<link href="css/blue-twilight.min.css?v={{ $app_version_url }}" rel="stylesheet" />
|
<link href="css/blue-twilight.min.css?v={{ $app_version_url }}" rel="stylesheet" />
|
||||||
|
<link href="themes/default/theme.css?v={{ $app_version_url }}" rel="stylesheet" />
|
||||||
@else
|
@else
|
||||||
<link href="css/blue-twilight.css?v={{ $app_version_url }}" rel="stylesheet" />
|
<link href="css/blue-twilight.css?v={{ $app_version_url }}" rel="stylesheet" />
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user