Skip to content

Commit

Permalink
auto detect lange and redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Nov 11, 2022
1 parent dc0185d commit b7c4a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DbSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class DbSession extends \yii\web\DbSession
*/
public $is_write_for_bot = false;


public function init()
{
$this->writeCallback = function ($session) {
Expand Down

0 comments on commit b7c4a99

Please sign in to comment.