. // //-------------------- // // IMPORTANT NOTICE: // // Do not edit this file unless you know what you are doing. Instead, // please use the HashOver administration panel to graphically adjust // the settings, or create/edit the settings JSON file. // Sensitive and advanced settings not to be exposed to the frontend class SensitiveSettings extends SafeSettings { // Primary settings public $dataFormat = 'xml'; // Format comments will be stored in; options: xml, json, sql public $defaultName = 'Anonymous'; // Default name to use when one isn't given public $allowsLogin = true; // Whether users can login and logout (when false form cookies are still set) public $usesModeration = false; // Whether comments must be approved before they appear to other visitors public $pendsUserEdits = false; // Whether comments need to be approved again when edited // E-mail settings public $mailer = 'sendmail'; // How to send notification e-mails, either 'sendmail' or 'smtp' public $mailType = 'text'; // What format to send e-mails in, either 'text' or 'html' // Behavior settings public $usesAutoLogin = true; // Whether a user's first comment automatically logs them in public $imageFormat = 'png'; // Format for icons and other images (use 'svg' for HDPI) // Date and Time settings (Intl) public $datePattern = 'MMMM d, YYYY'; // Date format pattern (see: http://userguide.icu-project.org/formatparse/datetime) public $timePattern = 'h:mm a'; // Time format pattern, use 'HH:mm' for 24-hour time // Date and Time settings (DateTime) public $dateFormat = 'F j, Y'; // Date format pattern (see: https://www.php.net/manual/en/datetime.format.php) public $timeFormat = 'g:i A'; // Time format pattern, use 'H:i' for 24-hour time // Technical settings public $loginMethod = 'DefaultLogin'; // Login method class for handling user login information public $requiresLogin = false; // Whether user must be logged in to comment (only for restrictive login methods) public $secureCookies = false; // Whether cookies set over secure HTTPS will only be transmitted over HTTPS public $storesIpAddress = false; // Whether to store users' IP addresses public $spamDatabase = 'remote'; // Whether to use a remote or local spam database public $spamCheckModes = 'php'; // Perform IP spam check in 'json' or 'php' mode, or 'both' public $enabledApi = array ('all'); // An array of enabled API. 'all' = fully-enabled, empty array = fully disabled public $latestMax = 10; // Maximum number of comments to save as latest comments public $unlinksFiles = false; // Whether user deleted files are actually unlinked from the filesystem public $localMetadata = true; // Whether metadata should be collected while running on a local server // Whether multiple website support is enabled public $supportsMultisites = false; // External domains allowed to remotely load HashOver scripts public $allowedDomains = array ( // '*.example.com', // '*.example.org', // '*.example.net' ); // Types of images allowed to be embedded in comments public $imageTypes = array ( 'jpeg', 'jpg', 'png', 'gif' ); }