Changeset 1724 for temp/trunk/html
- Timestamp:
- 2006/08/24 17:36:36 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/products/index2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/index2.php
r1723 r1724 49 49 50 50 // ǧ¾Ú²ÄÈݤÎȽÄê 51 //$objSess = new SC_Session(); 52 //sfIsSuccess($objSess); 53 54 // ¥»¥Ã¥·¥ç¥ó³«»Ï 55 $ret = session_id(); 56 57 58 /*¥Ø¥Ã¥À¡¼¤òÁ÷¿®¤·¤Æ¤¤¤Æ¤âsession_start()¤¬É¬Íפʥڡ¼¥¸¤¬¤¢¤ë¤Î¤Ç 59 ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ¤ª¤¯ 60 */ 61 //if($ret == "" && !headers_sent()) { 62 63 if($ret == "") { 64 /* ¥»¥Ã¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¤Î»ØÄê 65 ¡¦¥Ö¥é¥¦¥¶¤òÊĤ¸¤ë¤Þ¤Ç͸ú 66 ¡¦¤¹¤Ù¤Æ¤Î¥Ñ¥¹¤Ç͸ú 67 ¡¦Æ±¤¸¥É¥á¥¤¥ó´Ö¤Ç¶¦Í */ 68 session_set_cookie_params (0, "/", DOMAIN_NAME); 69 // ¥»¥Ã¥·¥ç¥ó³«»Ï 70 // session_start(); 71 } 72 73 // ¥»¥Ã¥·¥ç¥ó¾ðÊó¤ÎÊݸ 74 if(isset($_SESSION['cert'])) { 75 $sid = session_id(); 76 $cert = $_SESSION['cert']; 77 $login_id = $_SESSION['login_id']; 78 $authority = $_SESSION['authority']; // ´ÉÍý¼Ô:0, °ìÈÌ:1, ±ÜÍ÷:2 79 $member_id = $_SESSION['member_id']; 80 // ¥í¥°¤ËµÏ¿¤¹¤ë 81 gfPrintLog("access : user=".$this->login_id." auth=".$this->authority." sid=".$this->sid); 82 } else { 83 // ¥í¥°¤ËµÏ¿¤¹¤ë 84 gfPrintLog("access error."); 85 } 86 87 global $arrPERMISSION; 88 if(isset($arrPERMISSION[$_SERVER['PHP_SELF']])) { 89 // ¿ôÃͤ¬¼«Ê¬¤Î¸¢¸Â°Ê¾å¤Î¤â¤Î¤Ç¤Ê¤¤¤È¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¡£ 90 if($arrPERMISSION[$_SERVER['PHP_SELF']] < $authority) { 91 // ¥¨¥é¡¼¥Ú¡¼¥¸¤Îɽ¼¨ 92 sfDispError($ret); 93 } 94 } 51 $objSess = new SC_Session(); 52 sfIsSuccess($objSess); 53 54 sfprintr($_SESSION); 95 55 96 56 //¥¥ã¥ó¥Ú¡¼¥ó¤ÎÊÔ½¸»þ
Note: See TracChangeset
for help on using the changeset viewer.
