You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
747 B

<?php
// Application constants
define('UPLOAD_PATH', 'image/'); // Folder to save images to
define('THUMB_PATH', 'thumb/'); // Folder to save thumbnails to
define('ASSETS_PATH', 'assets/'); // Folder to store assets (header images, etc) in
define('MAX_FILE_SIZE', 8 << 20); // Maximum image size, 8 MiB
define('ADMIN_ID', '<SHA1 uid from your cookies>'); // uid that is able to delete anything
define('UID_SALT', '<some string to salt uids with>');
define('MAX_POSTS', 50); // Max posts after which old posts will be auto deleted. Only existing posts count, not manually deleted ones.
// Database constants for PostgreSQL database
$DB_HOST = 'localhost';
$DB_NAME = '<db name>';
$DB_USER = '<db role name>';
$DB_PASSWORD = '<db role password>';