mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#1791 board 모듈 일부 액션에 대한 선택적 SSL 적용
This commit is contained in:
parent
9bafbf9b62
commit
dcf8a95ada
1 changed files with 15 additions and 0 deletions
|
|
@ -18,6 +18,21 @@ class board extends ModuleObject
|
|||
var $page_count = 10; ///< page number
|
||||
var $category_list = NULL; ///< category list
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function board()
|
||||
{
|
||||
if(!Context::isInstalled()) return;
|
||||
|
||||
if(!Context::isExistsSSLAction('dispBoardWrite') && Context::getSslStatus() == 'optional')
|
||||
{
|
||||
$ssl_actions = array('dispBoardWrite', 'dispBoardWriteComment', 'dispBoardReplyComment', 'dispBoardModifyComment', 'dispBoardDeleteComment', 'procBoardInsertDocument', 'procBoardDeleteDocument', 'procBoardInsertComment', 'procBoardDeleteComment', 'procBoardVerificationPassword');
|
||||
Context::addSSLActions($ssl_actions);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief install the module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue