From 63d18e5ba3b69bf350858dff337b78908dba6fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Mon, 10 May 2021 18:15:58 +0200 Subject: [PATCH] Add files via upload --- assets/php/aplication.php | 2 +- assets/php/config.php | 5 +++++ cinemas/index.php | 3 ++- contacto/index.php | 2 +- fdicines/about_us/index.php | 2 +- fdicines/bocetos/index.php | 2 +- fdicines/detalles/index.php | 2 +- fdicines/miembros/index.php | 2 +- fdicines/planificacion/index.php | 2 +- fdicines/terms_conditions/index.php | 2 +- index.php | 2 +- login/index.php | 2 +- panel_admin/index.php | 2 +- panel_manager/includes/formHall.php | 3 --- panel_manager/index.php | 2 +- panel_user/index.php | 2 +- panel_user/panelUser.php | 2 +- showtimes/index.php | 2 +- 18 files changed, 22 insertions(+), 19 deletions(-) diff --git a/assets/php/aplication.php b/assets/php/aplication.php index a21e3e4..017b0b5 100644 --- a/assets/php/aplication.php +++ b/assets/php/aplication.php @@ -71,7 +71,7 @@ class Aplicacion { public function init($bdDatosConexion) { if ( ! $this->inicializada ) { $this->bdDatosConexion = $bdDatosConexion; - session_start(); + //session_start(); $this->inicializada = true; } } diff --git a/assets/php/config.php b/assets/php/config.php index 2d8ef8e..59b58a8 100644 --- a/assets/php/config.php +++ b/assets/php/config.php @@ -44,4 +44,9 @@ * @see http://php.net/manual/en/language.types.callable.php */ register_shutdown_function(array($app, 'shutdown')); + + //Depuración (BORRAR): + //ini_set('display_errors', 1); + //ini_set('display_startup_errors', 1); + //error_reporting(E_ALL); ?> diff --git a/cinemas/index.php b/cinemas/index.php index 2ea3c4e..72471ad 100644 --- a/cinemas/index.php +++ b/cinemas/index.php @@ -1,8 +1,9 @@ - + + + + + getLogin(); $register = $view->getRegister(); ?> +