mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-29 12:09:18 +00:00
Add missing resources/require.php
This commit is contained in:
@@ -34,14 +34,11 @@
|
||||
set_include_path(parse_ini_file($conf[0])['document.root']);
|
||||
|
||||
//includes files
|
||||
require_once "resources/require.php";
|
||||
include "resources/functions.php";
|
||||
require_once "resources/classes/text.php";
|
||||
$_SERVER["DOCUMENT_ROOT"] = $document_root;
|
||||
$format = 'text'; //html, text
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
//set the format
|
||||
$format = 'text'; //html, text
|
||||
}
|
||||
else if (!$included) {
|
||||
//set the include path
|
||||
@@ -58,13 +55,17 @@
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once "resources/header.php";
|
||||
$document['title'] = $text['title-upgrade_schema'];
|
||||
|
||||
//set the title and format
|
||||
$document['title'] = $text['title-upgrade_schema'];
|
||||
$format = 'html'; //html, text
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//get the database schema put it into an array then compare and update the database as needed.
|
||||
require_once "resources/classes/schema.php";
|
||||
$obj = new schema;
|
||||
|
||||
Reference in New Issue
Block a user