Debug
This commit is contained in:
parent
36d58d57aa
commit
2e18e96081
1 changed files with 3 additions and 3 deletions
6
vendor/action/log/log_save.php
vendored
6
vendor/action/log/log_save.php
vendored
|
|
@ -25,9 +25,6 @@ try {
|
|||
$LogValidate = new LogValidate();
|
||||
$StationFolder = new StationFolder();
|
||||
|
||||
|
||||
print_r($_POST);
|
||||
|
||||
/** Parametros de entrada */
|
||||
$key = isset($_POST['key']) ? (string)filter_input(INPUT_POST, 'key', FILTER_SANITIZE_SPECIAL_CHARS) : '';
|
||||
$file = isset($_POST['file']) ? (string)filter_input(INPUT_POST, 'file', FILTER_SANITIZE_SPECIAL_CHARS) : '';
|
||||
|
|
@ -44,6 +41,9 @@ try {
|
|||
$LogValidate->setKey($key);
|
||||
$LogValidate->setFile($file);
|
||||
|
||||
|
||||
echo json_decode($LogValidate->getFile());
|
||||
|
||||
/** Verifica se não existem erros a serem informados,
|
||||
* caso não haja erro(s) salvo os dados ou
|
||||
* efetua o cadastro de um novo*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue