diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 1d9d6e5..e7662e3 100644 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -53,6 +53,10 @@ $renderData = array( 'charset' => Configuration::getConfig('charset'), 'currentpage' => $_SERVER['PHP_SELF'] ], + 'php' => [ + 'sessionid' => \session_id(), + 'time' => \time() + ], 'user' => [ 'loggedin' => Users::loggedIn() ] diff --git a/_sakura/templates/yuuno/global/header.tpl b/_sakura/templates/yuuno/global/header.tpl index 139bbe8..5c613fb 100644 --- a/_sakura/templates/yuuno/global/header.tpl +++ b/_sakura/templates/yuuno/global/header.tpl @@ -66,11 +66,13 @@