You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: in-depth_documentation/configuration.md
+13-2
Original file line number
Diff line number
Diff line change
@@ -74,10 +74,21 @@ Line 11 reads the `server_url` from the section `application` and assigns it to
74
74
| airbrake.resource || Resource to call to log exceptions |
75
75
| authentication.cookie.name |`SecureSessionCookie`| Name of the PHPFramework secure cookie |
76
76
| authentication.cookie.encrypt_key || Set to a random string if you want to use the PHPFramework secure cookie |
77
-
| authentication.http.*<ARRAY>*|| The keys are the the usernames, the values are the sha1 hashes of the passwords to authenticate via HTTP.<br>HTTP authentication must be enables per controller class, by setting `$this->require_http_authentication = TRUE` in it's constructor. |
78
-
| authentication.sessionclass | `BasePHPSession` | Class for session handling. For all built-in session classes in PHPFramework you can omit the namespace `AppZap\PHPFramework\Authentication`.
77
+
| authentication.http.*<ARRAY>*|| The keys are the the usernames, the values are the sha1 hashes of the passwords to authenticate via HTTP.<br>HTTP authentication must be enabled per controller class, by setting `$this->require_http_authentication = TRUE` in it's constructor. |
78
+
| authentication.sessionclass |`BasePHPSession`| Class for session handling. For all built-in session classes in PHPFramework you can omit the namespace `AppZap\PHPFramework\Authentication`. |
| cache.folder |`./cache/`| Directory for cache files. Must be writable. |
81
+
| cache.full_output | false | Enables full output caching. That means the rendered output for each url will be cached. |
82
+
| cache.full_output_expiration |`20 minutes`| Expiration duration for the full output cache |
83
+
| cache.twig_folder |`./cache/twig/`| Directory for twig cache files. Must be writable |
84
+
| db.charset || MySQL charset |
85
+
| db.mysql.database || MySQL database name |
86
+
| db.mysql.host || MySQL host |
87
+
| db.mysql.password || MySQL password |
88
+
| db.mysql.user || MySQL user |
79
89
| db.migrator.enable | false | If true the DB migrator is invoked on every page call |
80
90
| debug_mode | false | Enables PHP error_reporting `E_ALL` and should also be used by your application to decide wether to output debugging information |
81
91
| plugins.*<ARRAY>*|| The keys are the PHP namespaces of the plugins that you are using in your installation and the value is `1`if you want to activate it. Example:<br>`plugins.MyVendor\MyPackage\FirstPlugin = 1`<br>`plugins.MyVendor\MyPackage\SecondPlugin = 0`<br>Will result in the first plugin being loaded and the second not. You can get the Plugin namespaces from the README files of the plugin packages you're using (hopefully). |
82
92
| powered_by | true | Adds a HTML comment to the output with a hint to PHPFramework |
93
+
| template_file_extension |`.twig` / `.html`| By default PHPFramwork uses the `TwigView` to render templates. Then `.twig` will be the default template file extension.<br>If you use your own view class based on `AbstractView` then `.html` will be the default template file extension. |
83
94
| version |*version*| Is automatically set to the current 2-digit version of PHPFramework, e.g. `1.3`. |
0 commit comments