-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
44 lines (35 loc) · 1.35 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* System generated by SysGen (System Generator with Formdin Framework)
* Download SysGen: https://github.com/bjverde/sysgen
* Download Formdin Framework: https://github.com/bjverde/formDin
*
* SysGen Version: 0.8.0-alpha
* FormDin Version: 4.2.5-alpha
*
* System educ created in: 2018-06-27 11:06:14
*/
//Constantes e configurações
require_once('controllers/ServidorConfig.class.php');
require_once('includes/constantes.php');
require_once('includes/config_conexao.php');
//FormDin version: 4.2.5
require_once('../base/classes/webform/TApplication.class.php');
require_once('controllers/autoload_migrajoomla.php');
require_once('dao/autoload_migrajoomla_dao.php');
$app = new TApplication(); // criar uma instancia do objeto aplicacao
$app->setTitle(SYSTEM_NAME);
$app->setSubtitle(SYSTEM_NAME_SUB);
$app->setSigla(SYSTEM_ACRONYM);
$app->setVersionSystem(SYSTEM_VERSION);
$app->setUnit('Secretaria de Tecnologia da Informação - STI - (2018)');
//Para testar com outro login basta informar o login desejado
define('SYSTEM_USER' , ServerHelper::get('PHP_AUTH_USER'));
$app->setLoginInfo(SYSTEM_USER);
//Acesso::usuarioAutorizado(SYSTEM_USER);
$app->setMainMenuFile('includes/menu.php');
//$app->setHeaderContent('index_header.php');
$app->setImgLogoPath('images/logo_mpdft.png');
$app->setWaterMark('images/bg_transparencia.jpg');
$app->run();
?>