Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Attachments #3580

Open
wants to merge 5 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions sources/ElkArte/Attachments/Attachment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

/**
* This is file part of the handling of attachments
*
* @package ElkArte Forum
* @copyright ElkArte Forum contributors
* @license BSD http://opensource.org/licenses/BSD-3-Clause (see accompanying LICENSE.txt file)
*
* This file contains code covered by:
* copyright: 2011 Simple Machines (http://www.simplemachines.org)
*
* @version 2.0 dev
*
*/

namespace ElkArte\Attachments;

/**
* Right now just a shell to wrap some constants I'm not sure where to put.
*/
class Attachment
{
const DL_TYPE_AVATAR = 'avatar';
const DL_TYPE_THUMB = 'thumb';

const DB_TYPE_ATTACH = 0;
const DB_TYPE_AVATAR = 1;
const DB_TYPE_THUMB = 3;
}
Loading