|
...
|
...
|
@@ -128,16 +128,15 @@ class LoginController extends BaseController |
|
|
|
if (!empty($matches[1])) {
|
|
|
|
$srcValues = $matches[1];
|
|
|
|
$imageModel = new Image();
|
|
|
|
$html = $v['html'];
|
|
|
|
foreach ($srcValues as $srcValue) {
|
|
|
|
$image_info = $imageModel->read(['hash'=>$srcValue]);
|
|
|
|
if($image_info !== false){
|
|
|
|
var_dump($srcValue);
|
|
|
|
die();
|
|
|
|
$path = basename($image_info['path']);
|
|
|
|
$v['html'] = str_replace(
|
|
|
|
$html = str_replace(
|
|
|
|
$srcValue,
|
|
|
|
$path,
|
|
|
|
$v['html']
|
|
|
|
$html
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|