Skip to content
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

Merged
merged 3 commits into from
Apr 7, 2023
Merged

Default static parameters - addition #993

merged 3 commits into from
Apr 7, 2023

Conversation

mildabre
Copy link
Contributor

@mildabre mildabre commented Apr 5, 2023

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.

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.
@dg
Copy link
Member

dg commented Apr 5, 2023

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.
@mildabre
Copy link
Contributor Author

mildabre commented Apr 5, 2023

I created 2nd commit with description of parameters, only concoleMode I cannot explain.

@dg
Copy link
Member

dg commented Apr 5, 2023

Great, thanks!

- `$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)
Copy link
Contributor

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.

Copy link
Contributor Author

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
@dg dg merged commit 3f676e4 into nette:master Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 25, 2023
dg pushed a commit that referenced this pull request Apr 27, 2023
dg pushed a commit that referenced this pull request May 22, 2023
dg pushed a commit that referenced this pull request May 29, 2023
dg pushed a commit that referenced this pull request Oct 3, 2023
dg pushed a commit that referenced this pull request Oct 24, 2023
dg pushed a commit that referenced this pull request Oct 24, 2023
dg pushed a commit that referenced this pull request Oct 24, 2023
dg pushed a commit that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants