Merge branch 'TTCrud/fix-session-blocking' into 'master'
fixed issue when doing multiple request add a time (only fixed for ttcrud modules) See merge request fronk/thetool!1504
This commit is contained in:
@@ -21,6 +21,11 @@ class TTCrud extends mfBaseController {
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
public $model;
|
||||
|
||||
public function __construct($request) {
|
||||
parent::__construct($request);
|
||||
session_write_close();
|
||||
}
|
||||
|
||||
protected function init() {
|
||||
$this->needlogin = true;
|
||||
$me = new User();
|
||||
|
||||
Reference in New Issue
Block a user