AMARILDO PEREIRA 6 months ago
parent
commit
3a31ebd856
  1. 2
      .gitignore
  2. 32
      .vscode/launch.json
  3. 2
      include/util/funcoesLicenca.php

2
.gitignore vendored

@ -33,7 +33,7 @@ phpdox.xml
# docker inseri esse script no container
# configurar ip host
config-docker.php
config-bd.php
#audio
audio/*.snd

32
.vscode/launch.json vendored

@ -0,0 +1,32 @@
{
// Use o IntelliSense para saber mais sobre os atributos possíveis.
// Focalizar para exibir as descrições dos atributos existentes.
// Para obter mais informações, acesse: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"cwd": "${workspaceRoot}",
"port": 9003,
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:9004"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"action": "openExternally"
}
},
]
}

2
include/util/funcoesLicenca.php

@ -249,9 +249,9 @@ function __validLicenca($dbcon, $data)
$where = 'clto_cnpj';
$filter = $data['clto_document'];
$columns = array(
'clto_perfil_aplicacao_id',
'clto_cnpj',
'clto_razao_social',
'clto_perfil_aplicacao_id',
'clto_licenca_pa',
'clto_licenca_pa_fixo',
'clto_licenca_ramal',

Loading…
Cancel
Save