Permalink
Browse files

Support for composer-created themes dir structure

Due to git limitations, we can't check out the blackcandy
"parent" theme into themes/blackcandy/ directly, since that
would require sharing paths with git repositories of other themes.
  • Loading branch information...
1 parent c802659 commit 2ea9f262e85d41c3dde9caf7de41414764bc4b24 @chillu chillu committed Dec 4, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 install.php
View
@@ -913,9 +913,17 @@ function install($config) {
<html>
<head>
<title>Installing SilverStripe...</title>
+
+ <!-- Support for theme directory structure created through composer -->
+ <link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/layout.css" />
+ <link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/typography.css" />
+ <link rel="stylesheet" type="text/css" href="themes/blackcandy/blackcandy/css/form.css" />
+
+ <!-- Support for legacy theme directory structure -->
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/layout.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/typography.css" />
<link rel="stylesheet" type="text/css" href="themes/blackcandy/css/form.css" />
+
<link rel="stylesheet" type="text/css" href="sapphire/dev/install/install.css" />
<script src="sapphire/thirdparty/jquery/jquery.js"></script>
</head>

0 comments on commit 2ea9f26

Please sign in to comment.