pastebin/config.py.template

20 lines
515 B
Plaintext
Raw Permalink Normal View History

import os
CONF_INSTALL_DIR = os.path.dirname(os.path.abspath(__file__))
CONF_DATA_DIR = os.path.join(CONF_INSTALL_DIR, "pastes")
CONF_TEMPLATE_DIR = os.path.join(CONF_INSTALL_DIR, "templates")
CONF_MAX_UPLOAD_SIZE = 256 * 1024 * 1024
CONF_DEFAULT_TYPE = "text/plain; charset=utf-8"
CONF_DEFAULT_CHARSET = "utf-8"
CONF_TIME_FORMAT = "%c"
CONF_SQL_DRIVER = "mysql"
CONF_SQL_USER = "pastebin"
CONF_SQL_PASSWORD = "T0pS3cret!!1"
CONF_SQL_DATABASE = "pastebin"
CONF_SQL_FILESTABLE = "pastebin_files"