if (!isset($_SESSION['PATH_SYS'])) { require_once '_loadPaths.inc.php'; } //echo '<pre>'; //print_r($_SESSION); $path = $_SESSION['PATH_SYS']; include_once $path['template'] . 'Template.php'; include_once $path['template'] . 'TemplateForumResposta.php'; include_once $path['controller'] . 'ForumQuestaoController.php'; include_once $path['controller'] . 'ForumRespostaController.php'; include_once $path['funcao'] . 'DatasFuncao.php'; $templateGeral = new Template(); $utils = new DatasFuncao(); //echo $utils->dataTimeBRExibicao('2015-10-10 10:10:10'); $templateResposta = new TemplateForumResposta(); $questaoController = new ForumQuestaoController(); $respostasController = new ForumRespostaController(); $templateResposta->updateQuestaoParticipante(); $templateResposta->updateQuestaoVisualizacao(); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Fórum Resposta</title> <!-- Bootstrap --> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
function __construct() { self::$path = $_SESSION['URL_SYS']; }