Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Created March 18, 2015 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenzo0107/b3afdecfb7afa6b641df to your computer and use it in GitHub Desktop.
Save kenzo0107/b3afdecfb7afa6b641df to your computer and use it in GitHub Desktop.
# 対象ファイル : data/class/pages/admin/LC_Page_Admin_Index
# 以下箇所を修正
function action() {
// パラメーター管理クラス
$objFormParam = new SC_FormParam_Ex();
switch ($this->getMode()) {
case 'login':
//ログイン処理
$this->lfInitParam($objFormParam);
$objFormParam->setParam($_POST);
$this->arrErr = $this->lfCheckError($objFormParam);
# 以下エラーチェックをコメントアウトし、true指定
// if (SC_Utils_Ex::isBlank($this->arrErr)) {
if (true) {
$this->lfDoLogin($objFormParam->getValue('login_id'));
SC_Response_Ex::sendRedirect(ADMIN_HOME_URLPATH);
}else{
SC_Utils_Ex::sfDispError(LOGIN_ERROR);
}
break;
default:
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment