예제 #1
0
파일: Jaring.php 프로젝트: shuLhan/sigma
 public static function cookies_get()
 {
     $ckey = "user_id";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_uid = $_COOKIE[$ckey];
     }
     $ckey = "user_name";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_username = $_COOKIE[$ckey];
     }
     $ckey = "profile_id";
     if (isset($_COOKIE[$ckey])) {
         self::$_c_profile_id = $_COOKIE[$ckey];
     }
 }