Example #1
0
 /**
  * constructor
  *
  * @return void
  */
 function __construct()
 {
     if (!Context::isInstalled()) {
         return;
     }
     if (!Context::isExistsSSLAction('dispBoardWrite') && Context::getSslStatus() == 'optional') {
         $ssl_actions = array('dispBoardWrite', 'dispBoardWriteComment', 'dispBoardReplyComment', 'dispBoardModifyComment', 'dispBoardDelete', 'dispBoardDeleteComment', 'procBoardInsertDocument', 'procBoardDeleteDocument', 'procBoardInsertComment', 'procBoardDeleteComment', 'procBoardVerificationPassword');
         Context::addSSLActions($ssl_actions);
     }
 }
Example #2
0
 /**
  * constructor
  *
  * @return void
  */
 function member()
 {
     if (!Context::isInstalled()) {
         return;
     }
     $oModuleModel = getModel('module');
     $member_config = $oModuleModel->getModuleConfig('member');
     // Set to use SSL upon actions related member join/information/password and so on. 2013.02.15
     if (!Context::isExistsSSLAction('dispMemberModifyPassword') && Context::getSslStatus() == 'optional') {
         $ssl_actions = array('dispMemberModifyPassword', 'dispMemberSignUpForm', 'dispMemberModifyInfo', 'dispMemberModifyEmailAddress', 'dispMemberGetTempPassword', 'dispMemberResendAuthMail', 'dispMemberLoginForm', 'dispMemberFindAccount', 'dispMemberLeave', 'procMemberLogin', 'procMemberModifyPassword', 'procMemberInsert', 'procMemberModifyInfo', 'procMemberFindAccount', 'procMemberModifyEmailAddress', 'procMemberUpdateAuthMail', 'procMemberResendAuthMail', 'procMemberLeave', 'procMemberFindAccountByQuestion');
         Context::addSSLActions($ssl_actions);
     }
 }