Skip to content

Commit b67dd68

Browse files
authored
Merge pull request #5 from sebastianks/add-config-files
Add config files
2 parents 562fe6e + e325572 commit b67dd68

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ RewriteEngine On
55
RewriteCond %{SCRIPT_FILENAME} !-d
66
RewriteCond %{SCRIPT_FILENAME} !-f
77

8-
RewriteRule ^(.*)$ ./index.php
8+
RewriteRule ^(.*)$ /index.php

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ composer require sebastianks/volcano
2323
# copy initial configuration and site to your project
2424
# if you don't do this you *have* to set these things up manually.
2525
cd ~/path/to/site/
26-
cp vendor/sebastianks/volcano/config/setup.php .
27-
cp -R vendor/sebastianks/volcano/config/site .
26+
cp vendor/sebastianks/volcano/config/.htaccess .
27+
cp -R vendor/sebastianks/volcano/config/* .
2828
```
2929

3030
## Theming

config/.htaccess

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Options +FollowSymLinks
2+
RewriteEngine On
3+
4+
# Ignore existing directories (!-d) and files (!-f)
5+
RewriteCond %{SCRIPT_FILENAME} !-d
6+
RewriteCond %{SCRIPT_FILENAME} !-f
7+
8+
RewriteRule ^(.*)$ /index.php

0 commit comments

Comments
 (0)