try catch reset device
This commit is contained in:
parent
32939a05cb
commit
3f22f89654
|
@ -336,7 +336,11 @@ class ConfigController extends Controller {
|
|||
\Yii::$app->db->createCommand()->truncateTable('capture_logs')->execute();
|
||||
\Yii::$app->db->createCommand()->truncateTable('list_management')->execute();
|
||||
array_map('unlink', glob("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/*.*"));
|
||||
try {
|
||||
file_get_contents("http://localhost:2305/update-feature");
|
||||
} catch (Exception $exc) {
|
||||
echo $exc->getTraceAsString();
|
||||
}
|
||||
}
|
||||
return Url::to(['/config']);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user