Skip to content

Commit

Permalink
* add server time information to config.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jul 14, 2015
1 parent 700292f commit 0dfc668
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/router.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,7 @@ public function exportConfig()
$view->sessionID = session_id();
$view->rand = $this->session->rand;
$view->expiredTime = ini_get('session.gc_maxlifetime');
$view->serverTime = time();
echo json_encode($view);
}

Expand Down

0 comments on commit 0dfc668

Please sign in to comment.