Skip to content

Commit

Permalink
Implementado archivos base para searchController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
marc7hedev committed Oct 10, 2024
1 parent 670bb5d commit 7fab3e5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/ajax/buscadorAjax.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
require_once "../../config/app.php";
require_once "../views/inc/session_start.php";
require_once "../../autoload.php";

use app\controllers\searchController;

if(isset($_POST['modulo_buscador'])){

$insBuscador = new searchController();





} else {
session_destroy();
header("Location: ".APP_URL."login/");
}
12 changes: 12 additions & 0 deletions app/controllers/searchController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace app\controllers;
use app\models\mainModel;

class searchController extends mainModel{





}

0 comments on commit 7fab3e5

Please sign in to comment.