Update index.php
This commit is contained in:
parent
af432eb467
commit
5769e14f18
|
|
@ -23,11 +23,12 @@
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
Mark J. Crane <markjcrane@fusionpbx.com>
|
Mark J. Crane <markjcrane@fusionpbx.com>
|
||||||
*/
|
*/
|
||||||
|
//include root
|
||||||
include "root.php";
|
include "root.php";
|
||||||
|
|
||||||
// start the session
|
// start the session
|
||||||
ini_set("session.cookie_httponly", True);
|
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 config.php file does not exist then redirect to the install page
|
||||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) {
|
if (file_exists($_SERVER["PROJECT_ROOT"]."/resources/config.php")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue