Comments (7)
It would be up to the user to adjust the file then. Otherwise the repo gets flooded with a lot of new files (I e.g. have the Contao demo installed on my dev system).
from standard-edition.
I thought the distribution should contain configuration for everyone, not just for you ;-)
from standard-edition.
Indeed. And folders which are not part of the distribution should be ignored. Maybe someone else wants to rename the /files
directory.
from standard-edition.
Well if that would be true, the gitignore should ignore everything except the known ones… but I guess you agree that would not make sense.
from standard-edition.
We discussed to keep the ignore for the following reason:
- Both directories (
files
andtemplates
) are managed from the Contao backend - Files that should be under version control should very likely not be placed in that folder(s)
For templates, they can be places in src/AppBundle/Resources/contao/templates
. Assuming the AppBundle
is loaded last in the AppKernel
, any other bundle templates can be overridden.
As an example for files: You probably want to place your design files in web/layout
and not in web/files/layout
. They should not be manageable through the backend, but they would then be under version control.
from standard-edition.
Files outside the files folder are not accessible by the file picker and so could not be added as external CSS file.
from standard-edition.
That's true, I used a custom header script tag to solve that.
from standard-edition.
Related Issues (20)
- Change /web to /public_html HOT 1
- Wartungsmodus nicht möglich HOT 6
- Unable to login when behind a SSL Proxy HOT 7
- Add basic security HOT 20
- Do not ship a default .htaccess file HOT 14
- Fehler beim Aufruf der Install.php - 4.3.6 HOT 4
- Manger Bundle in composer.json HOT 7
- Speichern und zurück funktioniert nicht mehr HOT 3
- swiftmailer requirement HOT 10
- Breaking change in Symfony Filesystem HOT 2
- Safari kann die Seite nicht öffnen, da die Netzwerkverbindung unterbrochen wurde HOT 7
- Fehler nach Installation unter XAMPP HOT 3
- Attempted to load class \"Config\" from the global namespace. HOT 25
- Unification of contao parameters HOT 1
- Alias Generierung HOT 1
- pages can not be selected in the pagebrowser. Radio buttons are missing. HOT 1
- cacheWarmup for "setup-scripts" HOT 5
- Maintenance "Recreate the symlinks" fails HOT 1
- Unattended Install HOT 8
- cacheWarmup differences between managed-edition? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standard-edition.