mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Using for backwards compatibility
Added for more graceful upgrade as people update their menu to use the new dashboard.
This commit is contained in:
31
core/user_settings/user_dashboard.php
Normal file
31
core/user_settings/user_dashboard.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
//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']);
|
||||
|
||||
//start the session
|
||||
ini_set("session.cookie_httponly", True);
|
||||
if (!isset($_SESSION)) { session_start(); }
|
||||
|
||||
//includes files
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//add the header
|
||||
require_once "resources/header.php";
|
||||
|
||||
//content
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
echo "<br />\n";
|
||||
|
||||
//add the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user