Add public webroot folder (#7)

This commit is contained in:
Damian Mooyman 2018-01-12 14:38:55 +13:00 committed by Aaron Carlino
parent 6874d169d8
commit a5d25bcb6b
3 changed files with 5 additions and 22 deletions

24
.gitignore vendored
View File

@ -1,26 +1,6 @@
# ignore cache folder
/silverstripe-cache/ /silverstripe-cache/
# ignore .env file
/.env /.env
# ignore build tools
/tools/phing-metadata
# ignore composer vendor folder
/vendor/ /vendor/
# ignore default modules from composer
/asset-admin/
/campaign-admin/
/cms/
/framework/
/graphql/
/reports/
/silverstripe-admin/
/silverstripe-assets/
/silverstripe-errorpage/
/siteconfig/
/themes/simple/ /themes/simple/
/versioned/ /resources/
/testsession/ /public/resources/

2
.htaccess Normal file
View File

@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule .* public/%1

1
public/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/resources/