Skip to content

Commit

Permalink
Merge pull request #5 from sebastianks/add-config-files
Browse files Browse the repository at this point in the history
Add config files
  • Loading branch information
sebkolind authored Dec 21, 2020
2 parents 562fe6e + e325572 commit b67dd68
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f

RewriteRule ^(.*)$ ./index.php
RewriteRule ^(.*)$ /index.php
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ composer require sebastianks/volcano
# copy initial configuration and site to your project
# if you don't do this you *have* to set these things up manually.
cd ~/path/to/site/
cp vendor/sebastianks/volcano/config/setup.php .
cp -R vendor/sebastianks/volcano/config/site .
cp vendor/sebastianks/volcano/config/.htaccess .
cp -R vendor/sebastianks/volcano/config/* .
```

## Theming
Expand Down
8 changes: 8 additions & 0 deletions config/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Options +FollowSymLinks
RewriteEngine On

# Ignore existing directories (!-d) and files (!-f)
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f

RewriteRule ^(.*)$ /index.php

0 comments on commit b67dd68

Please sign in to comment.