From 21fedb3af692b12c1f0aa266bbf788b01f2cbe4c Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Sun, 26 Mar 2023 04:50:46 +0300 Subject: auth tests --- core/classes/session/DefaultSession.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'core/classes/session/DefaultSession.php') diff --git a/core/classes/session/DefaultSession.php b/core/classes/session/DefaultSession.php index d3099a5..079ab9d 100644 --- a/core/classes/session/DefaultSession.php +++ b/core/classes/session/DefaultSession.php @@ -2,14 +2,19 @@ /** DefauleSession * -- + * * is a dummy session hanlder that wraps the * php's default session engine implementation; + * */ class DefaultSession implements SessionHandlerInterface { public function __construct() { // Start the session + // (the default way) + // and let the session* functions + // do what they know session_name(SESSION_NAME); session_start(); } @@ -21,7 +26,9 @@ class DefaultSession implements SessionHandlerInterface { public function close() {} #[ReturnTypeWillChange] - public function read(string $id) {} + public function read(string $id) { + + } #[ReturnTypeWillChange] public function write(string $id, string $data) {} -- cgit v1.2.3