fix bug reset thiet bi
This commit is contained in:
parent
6c7ecf7f26
commit
575bd6ce75
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user