get_prefix(); /** * Initialize the application: */ include_once($prefix.'assets/php/dao.php'); 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')); ?>