Update upgrade_schema.php

This commit is contained in:
FusionPBX 2017-01-05 04:05:58 -07:00 committed by GitHub
parent 039e776a67
commit d3b23f7dfc
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@
preg_match("/^(.*)\/core\/.*$/", $document_root, $matches);
$document_root = $matches[1];
set_include_path($document_root);
require_once "resources/require.php";
include "root.php";
include "resources/functions.php";
require_once "resources/classes/text.php";
$_SERVER["DOCUMENT_ROOT"] = $document_root;
$format = 'text'; //html, text