diff --git a/app/classes/config.php b/app/classes/config.php index 02a1efb..e518d22 100644 --- a/app/classes/config.php +++ b/app/classes/config.php @@ -20,7 +20,6 @@ define('STR_BD_IRACEMAPOLIS','firebird:dbname='.SERVIDOR_HOMO.'/'.PORTA_HOMO.':'.BANCO_IRACEMAPOLIS.';charset=UTF-8'); //mariaDB - define('DB_CONTROLE',"mysql:dbname=controledb;host=localhost;charset=utf8"); + define('DB_CONTROLE',"mysql:dbname=controledb;host=192.168.176.2/3312;charset=utf8"); define('USER','root'); - define('PASS',''); - //será mudada depois o banco para a cidade desejada dinâmicamente \ No newline at end of file + define('PASS','las1594@@'); \ No newline at end of file diff --git a/routes/router.php b/routes/router.php index d0e0c88..df384a2 100644 --- a/routes/router.php +++ b/routes/router.php @@ -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