Fix the session problem

In README note #7
This commit is contained in:
TienTN
2016-09-04 14:49:47 +07:00
parent 83b3e9080f
commit b14568c7e0
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -61,6 +61,8 @@ class Session {
var $villages = array();
function Session() {
global $database; //TienTN fix
$this->time = time();
if (!isset($_SESSION)) session_start();