fix bug reset thiet bi

This commit is contained in:
dongpd 2021-03-03 14:08:04 +07:00
parent 6c7ecf7f26
commit 575bd6ce75

View File

@ -338,8 +338,8 @@ class ConfigController extends Controller {
array_map('unlink', glob("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/*.*")); array_map('unlink', glob("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/*.*"));
try { try {
file_get_contents("http://localhost:2305/update-feature"); file_get_contents("http://localhost:2305/update-feature");
} catch (Exception $exc) { } catch (\Exception $exc) {
echo $exc->getTraceAsString(); // echo $exc->getTraceAsString();
} }
} }
return Url::to(['/config']); return Url::to(['/config']);