From 466bb85d34e402eae37fcb9840cd8397c086b98f Mon Sep 17 00:00:00 2001 From: AntonyAntonio Date: Fri, 15 Jul 2016 17:12:06 -0300 Subject: [PATCH] (Guillermo) code review changes --- server/controllers/user/login.php | 4 ++-- server/models/SessionCookie.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/controllers/user/login.php b/server/controllers/user/login.php index 30ae03f6..e69292de 100644 --- a/server/controllers/user/login.php +++ b/server/controllers/user/login.php @@ -89,8 +89,8 @@ class LoginController extends Controller { $sessionCookie->setProperties(array( 'user' => $this->userInstance->getBeanInstance(), 'token' => $this->rememberToken, - 'ip' => $_SERVER[‘REMOTE_ADDR’], - 'creationDate' => date("d-m-Y (H:i:s)" + 'ip' => $_SERVER['REMOTE_ADDR'], + 'creationDate' => date('d-m-Y (H:i:s)') )); $sessionCookie->store(); } diff --git a/server/models/SessionCookie.php b/server/models/SessionCookie.php index 496027bf..bd33c8e4 100644 --- a/server/models/SessionCookie.php +++ b/server/models/SessionCookie.php @@ -1,6 +1,6 @@