X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/a52e94e7d37efbd5356bb8a5b65f577e8500aed5..e03e075e4bc21843ae223caf0c149b289e9636c9:/config.inc.php.example?ds=sidebyside diff --git a/config.inc.php.example b/config.inc.php.example index a355bfa..9d52a2f 100644 --- a/config.inc.php.example +++ b/config.inc.php.example @@ -2,7 +2,7 @@ ###################################################################### # SCUTTLE: Online social bookmarks manager ###################################################################### -# Copyright (c) 2005 - 2010 Scuttle project +# Copyright (c) 2005 - 2010 Marcus Campbell # http://scuttle.org/ # # This module is to configure the main options for your site @@ -92,8 +92,6 @@ $adminemail = 'admin@example.org'; # filetypes : An array of bookmark extensions that Scuttle should # add system tags for. # reservedusers : An array of usernames that cannot be registered -# url_blacklist : Array of regex patterns. User is banned and existing -# bookmarks are hidden if a match is found. # email_whitelist : Array of regex patterns. Used to whitelist addresses that # may otherwise match the blacklist. # email_blacklist : Array of regex patterns. Registration is blocked if a @@ -104,7 +102,7 @@ $top_include = 'top.inc.php'; $bottom_include = 'bottom.inc.php'; $shortdate = 'd-m-Y'; $longdate = 'j F Y'; -$nofollow = true; +$nofollow = TRUE; $defaultPerPage = 10; $defaultRecentDays = 14; $defaultOrderBy = 'date_desc'; @@ -113,27 +111,28 @@ $root = NULL; $cookieprefix = 'SCUTTLE'; $tableprefix = 'sc_'; $adminemail = 'admin@example.org'; -$cleanurls = false; +$cleanurls = FALSE; -$usecache = false; +$usecache = FALSE; $dir_cache = dirname(__FILE__) .'/cache/'; -$useredir = false; +$useredir = FALSE; $url_redir = 'http://www.google.com/url?sa=D&q='; $filetypes = array( - 'audio' => array('mp3', 'ogg', 'wav'), - 'document' => array('doc', 'odt', 'pdf'), - 'image' => array('gif', 'jpeg', 'jpg', 'png'), - 'video' => array('avi', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv') + 'audio' => array('aac', 'mp3', 'm4a', 'oga', 'ogg', 'wav'), + 'document' => array('doc', 'docx', 'odt', 'pages', 'pdf', 'txt'), + 'image' => array('gif', 'jpe', 'jpeg', 'jpg', 'png', 'svg'), + 'bittorrent' => array('torrent'), + 'video' => array('avi', 'flv', 'mov', 'mp4', 'mpeg', 'mpg', 'm4v', 'ogv', 'wmv') ); $reservedusers = array('all', 'watchlist'); $email_whitelist = NULL; $email_blacklist = array( - '/(.*-){2,}/', - '/mailinator\.com/i' + '/(.*-){2,}/', + '/mailinator\.com/i' ); include_once 'debug.inc.php';