File tree Expand file tree Collapse file tree 11 files changed +60
-150
lines changed
themes/stepmania/templates Expand file tree Collapse file tree 11 files changed +60
-150
lines changed Original file line number Diff line number Diff line change 1
1
.sass-cache
2
+ /assets /.db /
3
+ /assets /error- * .html
4
+ /.htaccess
5
+ web.config
6
+ web.config
Original file line number Diff line number Diff line change 10
10
Deny from all
11
11
</Files >
12
12
13
+ # This denies access to all yml files, since developers might include sensitive
14
+ # information in them. See the docs for work-arounds to serve some yaml files
15
+ <Files *.yml >
16
+ Order allow,deny
17
+ Deny from all
18
+ </Files >
19
+
13
20
ErrorDocument 404 /assets/error-404 .html
14
21
ErrorDocument 500 /assets/error-500 .html
15
22
@@ -22,15 +29,11 @@ ErrorDocument 500 /assets/error-500.html
22
29
<IfModule mod_rewrite.c >
23
30
SetEnv HTTP_MOD_REWRITE On
24
31
RewriteEngine On
32
+ RewriteBase '/stepmania'
25
33
26
34
RewriteCond %{REQUEST_URI} ^(.*)$
27
35
RewriteCond %{REQUEST_FILENAME} !-f
28
36
RewriteCond %{REQUEST_URI} !\.php$
29
- RewriteRule .* framework/main.php?url=%1 [QSA]
30
-
31
- RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
32
- RewriteCond %{REQUEST_FILENAME} !-f
33
- RewriteRule . %1/install.php? [R,L]
34
-
37
+ RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
35
38
</IfModule >
36
39
### SILVERSTRIPE END ###
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- <?php
2
-
3
- global $ project ;
4
- $ project = 'mysite ' ;
5
-
6
- global $ database ;
7
- $ database = '' ;
8
-
9
- require_once ('conf/ConfigureFromEnv.php ' );
10
-
11
- MySQLDatabase::set_connection_charset ('utf8 ' );
12
-
13
- // Set the current theme. More themes can be downloaded from
14
- // http://www.silverstripe.org/themes/
15
- SSViewer::set_theme ('simple ' );
16
-
17
- // Enable nested URLs for this site (e.g. page/sub-page/)
18
- if (class_exists ('SiteTree ' )) SiteTree::enable_nested_urls ();
1
+ <?php
2
+
3
+ global $ project ;
4
+ $ project = 'mysite ' ;
5
+
6
+ global $ databaseConfig ;
7
+ $ databaseConfig = array (
8
+ "type " => 'SQLiteDatabase ' ,
9
+ "server " => '' ,
10
+ "username " => '' ,
11
+ "password " => '' ,
12
+ "database " => 'stepmania ' ,
13
+ "path " => '/home/colby/public_html/stepmania/assets/.db ' ,
14
+ );
15
+
16
+ MySQLDatabase::set_connection_charset ('utf8 ' );
17
+
18
+ // Set the current theme. More themes can be downloaded from
19
+ // http://www.silverstripe.org/themes/
20
+ SSViewer::set_theme ('tutorial ' );
21
+
22
+ // Set the site locale
23
+ i18n::set_locale ('en_US ' );
24
+
25
+ // Enable nested URLs for this site (e.g. page/sub-page/)
26
+ if (class_exists ('SiteTree ' )) SiteTree::enable_nested_urls ();
Original file line number Diff line number Diff line change
1
+ Subproject commit 7a11b353d72427aac74f0bb73a3bf6bb753cee87
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ <div class=" banner" >
2
+ <h1>Thingy</h1>
3
+ </div>
4
+ <article class=" post" >
5
+ <header>
6
+ <p>Posted at 1:40AM by <a href=" #" >shakesoda</a>.</p>
7
+ </header>
8
+ <p>This is a test post thingy</p>
9
+ </article>
Original file line number Diff line number Diff line change 2
2
<html lang=" en" >
3
3
<head>
4
4
<meta charset=" UTF-8" >
5
- < title > StepMania</ title >
6
- < link rel ="stylesheet " href ="css/style.css ">
5
+ <title>$SiteConfig.Title</title>
6
+ <link rel=" shortcut icon" type=" image/x-icon" href=" favicon.ico" >
7
+ <% base_tag %>
8
+ <% require themedCSS(style) %>
7
9
</head>
8
10
<body>
9
11
<header>
10
12
<nav class=" limit-width" >
11
13
<ul>
14
+ <% loop Menu(1 ) %>
15
+ <li><a href=" $Link" >$MenuTitle</a></li>
16
+ <% end_loop %>
17
+ <!--
12
18
<li><a href=" #" >SM Micro</a></li>
13
19
<li><a href=" #" >Download</a></li>
14
20
<li><a href=" #" >Find Content</a></li>
15
21
<li><a href=" #" >Wiki</a></li>
16
22
<li><a href=" #" >Forums</a></li>
17
23
<li><a href=" #" >Help</a></li>
24
+ -->
18
25
</ul>
19
26
</nav>
20
27
</header>
21
28
<div id=" container" class=" limit-width" >
22
- < div class ="banner ">
23
- < h1 > Thingy</ h1 >
24
- </ div >
25
- < article class ="post ">
26
- < header >
27
- < p > Posted at 1:40AM by < a href ="# "> shakesoda</ a > .</ p >
28
- </ header >
29
- < p > This is a test post thingy</ p >
30
- </ article >
29
+ $Layout
31
30
</div>
32
31
<footer class=" limit-width" >
33
32
<p>StepMania is open source software released under the MIT License</p>
You can’t perform that action at this time.
0 commit comments