-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (31 loc) · 945 Bytes
/
index.php
File metadata and controls
34 lines (31 loc) · 945 Bytes
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
<?php
/**
* Created by JetBrains PhpStorm.
* User: KESSILER
* Date: 16/09/12
* Time: 15:34
* To change this template use File | Settings | File Templates.
*/
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', 1);
require_once('autoload.php');
define("SESSION_NAME", "c21f969b5f03d33d43e04f8f136e7682");
define('CORE', dirname(__FILE__).DIRECTORY_SEPARATOR.'modules'.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR);
define('TEMPLATE', 'default/');
define('TITLE_SITE', 'SICG - Sistema integrado de cadastro e gerenciamento');
/*
Definições MySQL
*/
define('HOST', '127.0.0.1');
define('USER', 'root');
define('PASS', '123');
define('BD', 'webpas');
/* Definição do diretório de fontes para PDF */
define('FPDF_FONTPATH', CORE.DIRECTORY_SEPARATOR.'font');
date_default_timezone_set('America/Sao_Paulo');
ob_start();
session_name(SESSION_NAME);
session_start();
$application = new Application();
$application->run();
?>