Update controllers/ListManagementController.php
This commit is contained in:
parent
7c8014ca87
commit
d8fe80034e
|
@ -297,7 +297,7 @@ class ListManagementController extends Controller {
|
||||||
$model = $this->findModel($data['id']);
|
$model = $this->findModel($data['id']);
|
||||||
$images = json_decode($model->image, true);
|
$images = json_decode($model->image, true);
|
||||||
foreach ($images as $k => $v) {
|
foreach ($images as $k => $v) {
|
||||||
unlink("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $v['url']);
|
@unlink("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $v['url']);
|
||||||
}
|
}
|
||||||
common::updateFeature([
|
common::updateFeature([
|
||||||
"cmd" => "delete",
|
"cmd" => "delete",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user