Arreglado

This commit is contained in:
marian1010 2021-04-15 18:40:22 +02:00
parent 4a916e7a8a
commit 30547569f1
3 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
<?php
include_once('film_dto.php');
include_once('../assets/php/config.php');
$template = new Template();
$prefix = $template->get_prefix();
include_once($prefix.'assets/php/dao.php');
class Film_DAO extends DAO {

View File

@ -1,5 +1,5 @@
<?php
include_once('../assets/php/config.php');
include_once('film_dao.php');
include_once('film_dto.php');
include_once('../assets/php/form.php');

View File

@ -2,9 +2,10 @@
<?php
session_start();
require_once('../assets/php/template.php');
include_once('../assets/php/config.php');
require_once('../panel_admin/panelAdmin.php');
$template = new Template();
$login=false;
if(isset($_SESSION["login"]) && $_SESSION["rol"] == "admin") $login = true;
if(isset($_GET['state'])) {