Add files via upload

This commit is contained in:
Fernando Méndez
2021-05-08 15:17:51 +02:00
committed by GitHub
parent 3e48951b90
commit 8b4ed63f9f
8 changed files with 186 additions and 67 deletions

View File

@ -31,4 +31,17 @@
require_once('template.php');
$template = new Template();
$prefix = $template->get_prefix();
/**
* Initialize the application:
*/
require_once('aplication.php');
$app = Aplicacion::getSingleton();
$app->init(array('host'=>BD_HOST, 'bd'=>BD_NAME, 'user'=>BD_USER, 'pass'=>BD_PASS));
/**
* @see http://php.net/manual/en/function.register-shutdown-function.php
* @see http://php.net/manual/en/language.types.callable.php
*/
register_shutdown_function(array($app, 'shutdown'));
?>