beautify :D
This commit is contained in:
parent
8d9d3758c3
commit
feccae9255
8
api.php
8
api.php
@ -88,11 +88,11 @@ else if($ft=='png')
|
|||||||
|
|
||||||
imagedestroy($res);
|
imagedestroy($res);
|
||||||
|
|
||||||
|
|
||||||
function isBase64($data)
|
function isBase64($data)
|
||||||
{
|
{
|
||||||
if ( base64_encode(base64_decode($data, true)) === $data){
|
if ( base64_encode(base64_decode($data, true)) === $data)
|
||||||
return true;
|
return true;
|
||||||
} else {
|
else
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user