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/
# ignore .env file
/.env
# ignore build tools
/tools/phing-metadata
# ignore composer vendor folder
/vendor/
# ignore default modules from composer
/asset-admin/
/campaign-admin/
/cms/
/framework/
/graphql/
/reports/
/silverstripe-admin/
/silverstripe-assets/
/silverstripe-errorpage/
/siteconfig/
/themes/simple/
/versioned/
/testsession/
/resources/
/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/