From 395af0aa47fd39d81621ac1c49489f8f5f3f9b4d Mon Sep 17 00:00:00 2001 From: LickTheCheese Date: Wed, 8 Jan 2020 22:31:51 -0500 Subject: [PATCH] settings --- settings.e.php | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 settings.e.php diff --git a/settings.e.php b/settings.e.php new file mode 100644 index 0000000..db6b3a2 --- /dev/null +++ b/settings.e.php @@ -0,0 +1,99 @@ + (extension, optional thumbnail) +$tinyib_uploads = array('image/jpeg' => array('jpg'), + 'image/pjpeg' => array('jpg'), + 'image/png' => array('png'), + 'image/gif' => array('gif')); +# 'application/x-shockwave-flash' => array('swf', 'swf_thumbnail.png')); +# 'video/webm' => array('webm')); // WebM upload requires mediainfo and ffmpegthumbnailer (see README for instructions) +# 'audio/webm' => array('webm')); + +// oEmbed APIs +// Empty array to disable +$tinyib_embeds = array('SoundCloud' => 'https://soundcloud.com/oembed?format=json&url=TINYIBEMBED', + 'Vimeo' => 'https://vimeo.com/api/oembed.json?url=TINYIBEMBED', + 'YouTube' => 'https://www.youtube.com/oembed?url=TINYIBEMBED&format=json'); + +// File control +define('TINYIB_MAXKB', 2048); // Maximum file size in kilobytes [0 to disable] +define('TINYIB_MAXKBDESC', '2 MB'); // Human-readable representation of the maximum file size +define('TINYIB_THUMBNAIL', 'gd'); // Thumbnail method to use: gd / imagemagick (see README for instructions) +define('TINYIB_NOFILEOK', true); // Allow the creation of new threads without uploading a file + +// Thumbnail size - new thread +define('TINYIB_MAXWOP', 250); // Width +define('TINYIB_MAXHOP', 250); // Height + +// Thumbnail size - reply +define('TINYIB_MAXW', 250); // Width +define('TINYIB_MAXH', 250); // Height + +// Tripcode seed - Must not change once set! +define('TINYIB_TRIPSEED', 'jdfgnkdjfgndfg'); // Enter some random text (used when generating secure tripcodes) + +// CAPTCHA +// The following only apply when TINYIB_CAPTCHA is set to recaptcha +// For API keys visit https://www.google.com/recaptcha +define('TINYIB_RECAPTCHA_SITE', ''); // Site key +define('TINYIB_RECAPTCHA_SECRET', '');// Secret key + +// Database +// Recommended database modes from best to worst: +// pdo, mysqli, mysql, sqlite3, sqlite (deprecated), flatfile (only useful if you need portability or lack any kind of database) +define('TINYIB_DBMODE', 'flatfile'); // Mode +define('TINYIB_DBMIGRATE', false); // Enable database migration tool (see README for instructions) +define('TINYIB_DBBANS', 'bans'); // Bans table name (use the same bans table across boards for global bans) +define('TINYIB_DBPOSTS', TINYIB_BOARD . '_posts'); // Posts table name + +// Database configuration - MySQL / pgSQL +// The following only apply when TINYIB_DBMODE is set to mysql, mysqli or pdo with default (blank) TINYIB_DBDSN +define('TINYIB_DBHOST', 'localhost'); // Hostname +define('TINYIB_DBPORT', 3306); // Port (set to 0 if you are using a UNIX socket as the host) +define('TINYIB_DBUSERNAME', ''); // Username +define('TINYIB_DBPASSWORD', ''); // Password +define('TINYIB_DBNAME', ''); // Database + +// Database configuration - PDO +// The following only apply when TINYIB_DBMODE is set to pdo (see README for instructions) +define('TINYIB_DBDRIVER', 'mysql'); // PDO driver to use (mysql / pgsql / sqlite / etc.) +define('TINYIB_DBDSN', ''); // Enter a custom DSN to override all of the connection/driver settings above (see README for instructions) +// When changing this, you should still set TINYIB_DBDRIVER appropriately. +// If you're using PDO with a MySQL or pgSQL database, you should leave this blank.