fix bug reset thiet bi
This commit is contained in:
parent
e45e08f372
commit
aaa6de6f9c
|
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Url::to(['/config']);
|
return Url::to(['/config']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user