Changeset 23447
- Timestamp:
- 2014/05/27 12:11:39 (10 years ago)
- Location:
- branches/version-2_13-dev/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_Detail.php
r23256 r23447 247 247 { 248 248 // 管理機能からの確認の場合は、非公開の商品も表示する。 249 if (isset($admin_mode) && $admin_mode == 'on') { 250 SC_Utils_Ex::sfIsSuccess(new SC_Session_Ex()); 251 $status = true; 249 if (isset($admin_mode) && $admin_mode == 'on' && SC_Utils_Ex::sfIsSuccess(new SC_Session_Ex(), false)) { 252 250 $where = 'del_flg = 0'; 253 251 } else { 254 $status = false;255 252 $where = 'del_flg = 0 AND status = 1'; 256 253 } -
branches/version-2_13-dev/data/class/util/SC_Utils.php
r23439 r23447 175 175 } 176 176 177 /* 認証の可否判定 */ 178 public function sfIsSuccess($objSess, $disp_error = true) 177 /** 178 * 認証の可否判定 179 * 180 * @param SC_Session $objSess 181 * @param bool $disp_error 182 * @return bool 183 */ 184 public static function sfIsSuccess(SC_Session $objSess, $disp_error = true) 179 185 { 180 186 $ret = $objSess->IsSuccess();
Note: See TracChangeset
for help on using the changeset viewer.