Skip to content

Commit c8f52c9

Browse files
author
Samuel Akopyan
committed
Added docs for new helper CSecureHeaders
1 parent 4892f05 commit c8f52c9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Version 1.4.x -
22
----------------------------
3-
- New: added new helper CSecureHeaders
3+
- New: added new helper CSecureHeaders with possibility to define secure headers
44
- Enh: added possibility to hide system queries in debug panel
55
- Enh: added possibility to close debug panel to minimum size
66
- Enh: added possibility to get records by chunks with chuck() method of Active Record

docs/pages/configuration-files.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h3>File <code>main.php</code></h3>
7373
'hashKey' => 'YOUR_HASH_PASSWORD_KEY',
7474
),
7575

76-
// Password restore settings
76+
// Password restore settings
7777
'restoreAdminPassword' => array(
7878
'enable' => true,
7979
'recoveryType' => 'direct' /* 'direct' - send new password directly, 'recovery' - send a link to recovery page */
@@ -101,6 +101,12 @@ <h3>File <code>main.php</code></h3>
101101
'bruteforce' => array('enable' => true, 'badLogins' => 5, 'redirectDelay' => 3),
102102
),
103103

104+
// HTTP headers
105+
'httpHeaders' => array(
106+
'secure' => true,
107+
'framework' => true
108+
),
109+
104110
// Exception handling
105111
// Define exceptions exceptions in application
106112
'exceptionHandling' => array(

0 commit comments

Comments
 (0)