fix: Session은 singleton이므로 생성자가 public이면 안됨

This commit is contained in:
2023-03-01 04:33:13 +09:00
parent 968e4afc8f
commit 4fcafe88a7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class DummySession extends Session
}
public function __construct()
protected function __construct()
{
$this->set('userID', -1);
$this->set('userName', 'Dummy');
+1 -1
View File
@@ -104,7 +104,7 @@ class Session
static::die($actionOnError);
}
public function __construct()
protected function __construct()
{
//session_cache_limiter('nocache, must_revalidate');