(Guillermo) code review changes

This commit is contained in:
AntonyAntonio 2016-07-15 17:12:06 -03:00
parent 48fe22c536
commit 466bb85d34
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -1,6 +1,6 @@
<?php
class sessioncookie extends DataStore {
class SessionCookie extends DataStore {
const TABLE = 'session';
public static function getProps() {