-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default static parameters - addition #993
Conversation
Hi, information about default static parameters is important. It should be prominently listed with its own title in both the Configuration section and the Bootstrap section, as it is related to both topics. I send 2 PRs to each section separately.
I'm sure they're important, but could you explain them? Like this: https://doc.nette.org/cs/application/templates#toc-vychozi-promenne |
Sorry, I am not able to define the text to the parameter consoleMode.
I created 2nd commit with description of parameters, only concoleMode I cannot explain. |
Great, thanks! |
application/cs/bootstrap.texy
Outdated
- `$tempDir` je absolutní souborová cesta do adresáře pro dočasné soubory (např. `C://www/project/temp`) | ||
- `$vendorDir` je absolutní souborová cesta do adresáře knihoven (např. `C://www/project/vendor`) | ||
- `$debugMode` nám udává zda je aplikace v debugovacím režimu (true) nebo produkčním režimu (false) | ||
- `$consoleMode` je ??? (tohle nevím) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consoleMode určuje, zda request přišel přes http nebo konzoli (PHP_SAPI === 'cli')
. Použití je pro běžnou appku celkem vzácné. Např. nette/http jej používá pro určení, zda má startovat session. orisai/nette-console podle toho ví, zda má nahradit http request falešným.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
díky doplním
Based on mabar explanation
Hi, information about default static parameters is important. It should be prominently listed with its own title in both the Configuration section and the Bootstrap section, as it is related to both topics. I send 2 PRs to each section separately.