Skip to content

Instantly share code, notes, and snippets.

@meeech
Created January 8, 2012 16:42
Show Gist options
  • Save meeech/1578931 to your computer and use it in GitHub Desktop.
Save meeech/1578931 to your computer and use it in GitHub Desktop.
function writeBase64Asset($path, $data) {
return file_put_contents($path, base64_decode($data));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment