mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 07:18:39 +00:00
fix phpcs
This commit is contained in:
parent
792fcf900a
commit
bdeca100d5
|
|
@ -101,7 +101,11 @@ final class ConsoleSessionHandler implements \SessionHandlerInterface, \SessionI
|
||||||
*/
|
*/
|
||||||
public function read($id)
|
public function read($id)
|
||||||
{
|
{
|
||||||
return (string) @\file_get_contents($this->savePath . '/sess_' . $id);
|
if (!\file_exists($this->savePath . '/sess_' . $id)) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return (string) \file_get_contents($this->savePath . '/sess_' . $id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user