Skip to content

Commit

Permalink
Definida funcion modulosBusquedaControlador en searchController
Browse files Browse the repository at this point in the history
  • Loading branch information
marc7hedev committed Oct 10, 2024
1 parent 7fab3e5 commit 4bedfcb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/controllers/searchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@

class searchController extends mainModel{

/*---------- CONTROLADOR módulos de búsquedas ----------*/
public function modulosBusquedaControlador($modulo){


$listaModulos = ['userSearch'];

if(in_array($modulo, $listaModulos)){
return false;
}else{
return true;
}

}


}

0 comments on commit 4bedfcb

Please sign in to comment.