Update footer.php
This commit is contained in:
parent
991aef3312
commit
314aad67e5
|
|
@ -23,8 +23,17 @@
|
|||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
include "root.php";
|
||||
require_once "resources/require.php";
|
||||
|
||||
//includes
|
||||
include "root.php";
|
||||
require_once "resources/require.php";
|
||||
|
||||
//set variables if not set
|
||||
if (!isset($_SESSION["template_content"])) { $_SESSION["template_content"] = null; }
|
||||
if (!isset($document)) { $document = null; }
|
||||
if (!isset($v_menu)) { $v_menu = null; }
|
||||
if (!isset($_SESSION["menu"])) { $_SESSION["menu"] = null; }
|
||||
if (!isset($_SESSION["username"])) { $_SESSION["username"] = null; }
|
||||
|
||||
//get the output from the buffer
|
||||
$body = $content_from_db.ob_get_contents();
|
||||
|
|
@ -113,4 +122,4 @@ require_once "resources/require.php";
|
|||
//$statsauth = "a3az349x2bf3fdfa8dbt7x34fas5X";
|
||||
//require_once "stats/stat_sadd.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue