$_SESSION 으로 직접 접근하는 코드들을 모두 Session 클래스로 통합

This commit is contained in:
2018-04-05 02:04:43 +09:00
parent b3e621fbfd
commit 51316abd42
61 changed files with 177 additions and 180 deletions
+3 -3
View File
@@ -98,9 +98,9 @@ class Session {
//첫 등장
if(!Util::array_get($_SESSION['ip'])) {
$_SESSION['ip'] = Util::get_client_ip(true);
$_SESSION['time'] = time();
if(!$this->get('ip')) {
$this->set('ip', Util::get_client_ip(true));
$this->set('time', time());
}
}