Fix "PHP Warning: session_write_close(): Failed to write session data (user)" errors

- Changed returning true when there's a session ID but no session data
in ref_session_write()
- Moved session.php requires around
This commit is contained in:
Hypolite Petovan 2017-08-01 21:02:24 -04:00
commit 4601c4bd8a
6 changed files with 8 additions and 7 deletions

View file

@ -1,5 +1,7 @@
<?php
require_once 'include/session.php';
require_once 'vendor/autoload.php';
set_time_limit(0);