Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Attachments are the database representation of files like images or PDF documents, which are stored in the
blobs directory (typically in the
var/blobs folder in the project directory). They are based on the MgdSchema
midgard_blob class lets you interact with the actual files on the filesystem. A blob is always bound to an attachment.
Under Midgard 1, the blobdir was defined in the Apache VirtualHost config file.