Commit f4c18e1b by 庄欣

fix bug

parent 8dfac064
...@@ -71,7 +71,7 @@ class User extends ControllerBase ...@@ -71,7 +71,7 @@ class User extends ControllerBase
imagepng($resource); imagepng($resource);
$stream = base64_encode(ob_get_contents()); $stream = base64_encode(ob_get_contents());
ob_end_clean(); ob_end_clean();
return "data:imge/png;base64,".$stream; return $stream;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment