ajustes da api para o container
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
function load(string $controller, string $action){
|
||||
|
||||
try{
|
||||
|
||||
$controllerNameSpace = "app\\controllers\\{$controller}";
|
||||
if(!class_exists($controllerNameSpace)){
|
||||
throw new Exception("Controller {$controller} não existe");
|
||||
@@ -48,8 +47,7 @@ $router= [
|
||||
];
|
||||
|
||||
//rodar local host
|
||||
//php -S localhost:8000
|
||||
//php -S 192.168.18.2:8000
|
||||
|
||||
//depois chamar localhost:8000
|
||||
//http://192.168.18.2:8000/login?NO_USERNAME=AMENEZES
|
||||
//http://192.168.18.2:8000/logincontrole?NO_USERNAME=AMENEZES&CIDADE=IRACEMAPOLIS
|
||||
|
||||
Reference in New Issue
Block a user