Arreglado
This commit is contained in:
parent
4a916e7a8a
commit
30547569f1
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once('film_dto.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');
|
include_once($prefix.'assets/php/dao.php');
|
||||||
|
|
||||||
class Film_DAO extends DAO {
|
class Film_DAO extends DAO {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include_once('../assets/php/config.php');
|
||||||
include_once('film_dao.php');
|
include_once('film_dao.php');
|
||||||
include_once('film_dto.php');
|
include_once('film_dto.php');
|
||||||
include_once('../assets/php/form.php');
|
include_once('../assets/php/form.php');
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
require_once('../assets/php/template.php');
|
include_once('../assets/php/config.php');
|
||||||
|
|
||||||
require_once('../panel_admin/panelAdmin.php');
|
require_once('../panel_admin/panelAdmin.php');
|
||||||
$template = new Template();
|
|
||||||
$login=false;
|
$login=false;
|
||||||
if(isset($_SESSION["login"]) && $_SESSION["rol"] == "admin") $login = true;
|
if(isset($_SESSION["login"]) && $_SESSION["rol"] == "admin") $login = true;
|
||||||
if(isset($_GET['state'])) {
|
if(isset($_GET['state'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user