Skip to content

Commit

Permalink
Allow session to be writable in CLI mode so tests can write values. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Sep 20, 2018
1 parent 64a9142 commit 4c2f03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Session/SessionNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function __construct($namespace = 'Default', $singleInstance = false)
{
if (Common::isPhpCliMode()) {
self::$_readable = true;
self::$_writable = true;
return;
}

Expand Down

0 comments on commit 4c2f03d

Please sign in to comment.