Update login.php
This commit is contained in:
@@ -24,6 +24,13 @@
|
|||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//set the include path
|
||||||
|
$conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE);
|
||||||
|
set_include_path(parse_ini_file($conf[0])['document.root']);
|
||||||
|
|
||||||
|
//includes files
|
||||||
|
require_once "resources/require.php";
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
$language = new text;
|
$language = new text;
|
||||||
$text = $language->get(null,'core/user_settings');
|
$text = $language->get(null,'core/user_settings');
|
||||||
|
|||||||
Reference in New Issue
Block a user