Actualizar las rutas
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run

This commit is contained in:
Alejandro Rosales
2024-10-08 11:39:24 -06:00
parent e366a75abc
commit fab36e0f9b
3 changed files with 4 additions and 28 deletions

View File

@@ -67,6 +67,7 @@ try {
[ [
'horarios' => $db->query( 'horarios' => $db->query(
"SELECT " . implode(', ', $columns) . <<<SQL "SELECT " . implode(', ', $columns) . <<<SQL
, NULL, NULL, 0 AS tipo
FROM horario_view FROM horario_view
inner JOIN periodo using(periodo_id) inner JOIN periodo using(periodo_id)
JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (horario_view.horario_hora, horario_view.horario_hora + horario_view.duracion) JOIN bloque_horario ON (bloque_horario.hora_inicio, bloque_horario.hora_fin) OVERLAPS (horario_view.horario_hora, horario_view.horario_hora + horario_view.duracion)
@@ -90,7 +91,7 @@ try {
// 'query' => $db->getLastQuery(), // 'query' => $db->getLastQuery(),
'reposiciones' => $db->query( 'reposiciones' => $db->query(
'SELECT ' . implode(', ', $columns) . <<<SQL 'SELECT ' . implode(', ', $columns) . <<<SQL
, reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal , reposicion_hora + horario_view.duracion as reposicion_fin, registro_fecha_ideal, 1 AS tipo
FROM horario_view FROM horario_view
inner JOIN periodo using(periodo_id) inner JOIN periodo using(periodo_id)
NATURAL JOIN registro NATURAL JOIN registro

2
info.php Normal file
View File

@@ -0,0 +1,2 @@
<?php
phpinfo();

View File

@@ -1,27 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Consultar horario |
<?= $user->facultad['facultad'] ?? 'General' ?>
</title>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/plain; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php include_once "import/html_css_files.php"; ?>
</head>
<!-- -->
<body style="display: block;">
adiós a todos mis amigos
<?
# throw an uncaught exception
//throw new Exception('Uncaught Exception');
?>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script>
</script>
</html>