chartManD commited on
Commit
31e478d
·
1 Parent(s): 75dfb28

se agrega comprobacion de login

Browse files
Files changed (1) hide show
  1. app/inc/header.php +7 -0
app/inc/header.php CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  <!DOCTYPE html>
2
  <html lang="es" data-bs-theme="dark">
3
 
 
1
+ <?php
2
+ if (!isset($_SESSION['usuario'])) {
3
+ header('Location: login.php');
4
+ exit();
5
+ }
6
+ ?>
7
+
8
  <!DOCTYPE html>
9
  <html lang="es" data-bs-theme="dark">
10