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(); ?> +