45 lines
1.3 KiB
PHP
45 lines
1.3 KiB
PHP
|
<?php
|
||
|
// Database connection parameters
|
||
|
define('MYSQL_HOST', "localhost");
|
||
|
define('MYSQL_USERNAME', "svrjs_mods");
|
||
|
define('MYSQL_PASSWORD', "svrjs_mods");
|
||
|
define('MYSQL_DATABASE', "svrjs_mods");
|
||
|
define('MYSQL_PORT', null);
|
||
|
|
||
|
// Whenever the URL is rewritten using web server's URL rewriting engine
|
||
|
define('URL_REWRITTEN', false);
|
||
|
|
||
|
// Elements per page
|
||
|
define('PAGE_MODS', 12);
|
||
|
define('PAGE_REVIEWS', 10);
|
||
|
|
||
|
// Email settings
|
||
|
define('EMAIL_SMTP', false);
|
||
|
define('EMAIL_SMTP_HOST', '');
|
||
|
define('EMAIL_SMTP_AUTHENTICATED', false);
|
||
|
define('EMAIL_SMTP_USERNAME', '');
|
||
|
define('EMAIL_SMTP_PASSWORD', '');
|
||
|
define('EMAIL_SMTP_ENCRYPTION', 0); // 0 for no encryption (port 25), 1 for STARTTLS (port 587), 2 for TLS/SSL (port 465)
|
||
|
define('EMAIL_SMTP_PORT', 25);
|
||
|
define('EMAIL_FROM', '');
|
||
|
define('EMAIL_FROM_NAME', '');
|
||
|
|
||
|
// Image specifications
|
||
|
define('IMAGE_EXTENSIONS_ALLOWED', ["png", "jpg", "jpeg"]);
|
||
|
define('IMAGE_MAX_SIZE', 4194304);
|
||
|
|
||
|
// Page compression (PHP-level) setting
|
||
|
define('COMPRESSION_ENABLED', true);
|
||
|
|
||
|
// hCaptcha settings
|
||
|
define('HCAPTCHA_ENABLED', false);
|
||
|
define('HCAPTCHA_SECRET_KEY', '');
|
||
|
define('HCAPTCHA_SITE_KEY', '');
|
||
|
|
||
|
// StopForumSpam settings
|
||
|
define('STOPFORUMSPAM_ENABLED', true);
|
||
|
define('STOPFORUMSPAM_CHECK_USERNAME', true);
|
||
|
define('STOPFORUMSPAM_CHECK_EMAIL', true);
|
||
|
define('STOPFORUMSPAM_CHECK_IP', true);
|
||
|
define('STOPFORUMSPAM_THRESHOLD', 5);
|