Changeset 1722 for temp/trunk


Ignore:
Timestamp:
2006/08/24 17:23:28 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/index2.php

    r1720 r1722  
    7171    } 
    7272 
    73         // ¥»¥Ã¥·¥ç¥ó¾ðÊó¤ÎÊݸ 
    74         if(isset($_SESSION['cert'])) { 
    75             $this->sid = session_id(); 
    76             $this->cert = $_SESSION['cert']; 
    77             $this->login_id = $_SESSION['login_id']; 
    78             $this->authority = $_SESSION['authority'];  // ´ÉÍý¼Ô:0, °ìÈÌ:1, ±ÜÍ÷:2 
    79             $this->member_id = $_SESSION['member_id']; 
     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']; 
    8080            // ¥í¥°¤Ëµ­Ï¿¤¹¤ë 
    8181            gfPrintLog("access : user=".$this->login_id." auth=".$this->authority." sid=".$this->sid); 
     
    8585        } 
    8686 
     87        global $arrPERMISSION; 
     88            if(isset($arrPERMISSION[$_SERVER['PHP_SELF']])) { 
     89                // ¿ôÃͤ¬¼«Ê¬¤Î¸¢¸Â°Ê¾å¤Î¤â¤Î¤Ç¤Ê¤¤¤È¥¢¥¯¥»¥¹¤Ç¤­¤Ê¤¤¡£ 
     90                if($arrPERMISSION[$_SERVER['PHP_SELF']] < $this->authority) {            
     91                                // ¥¨¥é¡¼¥Ú¡¼¥¸¤Îɽ¼¨ 
     92            sfDispError($ret); 
     93                }  
     94            } 
    8795 
    8896//¥­¥ã¥ó¥Ú¡¼¥ó¤ÎÊÔ½¸»þ 
Note: See TracChangeset for help on using the changeset viewer.