Update index.php

This commit is contained in:
FusionPBX 2016-12-11 23:00:53 -07:00 committed by GitHub
parent af432eb467
commit 5769e14f18
1 changed files with 4 additions and 3 deletions

View File

@ -23,11 +23,12 @@
Contributor(s):
Mark J. Crane <markjcrane@fusionpbx.com>
*/
include "root.php";
//include root
include "root.php";
// start the session
ini_set("session.cookie_httponly", True);
session_start();
if (!isset($_SESSION)) { session_start(); }
//if config.php file does not exist then redirect to the install page
if (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) {
@ -79,4 +80,4 @@ include "root.php";
}
}
?>
?>