-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·43 lines (37 loc) · 1.29 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
<?php
/**
* Open Health Vademecum
* Copyright (C)
* UNIVERSIDAD DISTRITAL Francisco José de Caldas
* Grupo de Investigación GITEM
*
* Este programa es software libre: puede redistribuirlo y/o modificarlo bajo
* los términos de la Licencia General Pública de GNU publicada por la Free
* Software Foundation, ya sea la versión 3 de la Licencia, o (a su elección)
* cualquier versión posterior.
*
* Este programa se distribuye con la esperanza de que sea útil pero SIN
* NINGUNA GARANTÍA. Incluso sin garantía implícita de COMERCIALIZACIÓN o
* ADECUACIÓN PARA UN PROPÓSITO PARTICULAR.
*
* Usted ha debido de recibir una copia de la Licencia GPL junto con este
* programa. Si no es así, por favor consulte: <https://www.gnu.org/licenses/>.
*/
/**
* @name index.php
* @author Paulo Cesar Coronado
* @description Pagina principal del aplicativo
*/
require_once('clase/config.class.php');
$esta_configuracion=new config();
$configuracion=$esta_configuracion->variable();
if(!isset($configuracion["instalado"]))
{
include 'instalador/Instalador.class.php';
$instalador=new Instalador();
$instalador->instalar();
}else{
include_once($configuracion["raiz_documento"].$configuracion["clases"]."/pagina.class.php");
$la_pagina=new pagina($configuracion);
}
?>