# HG changeset patch # User Matti Hamalainen # Date 1485547900 -7200 # Node ID faa835271dfdaab2ca5a89389f51d8f6c65990fb # Parent 563fc90de9657ef063a698edc791804574590a0c Update example config. diff -r 563fc90de965 -r faa835271dfd mconfig.inc.php.example --- a/mconfig.inc.php.example Thu Jan 26 14:03:38 2017 +0200 +++ b/mconfig.inc.php.example Fri Jan 27 22:11:40 2017 +0200 @@ -7,6 +7,7 @@ // Admin interface password // "admPassword" => "xxx", + "admPassword" => false, // SQL database PHP data source name, etc. Refer to // http://www.php.net/manual/en/pdo.construct.php @@ -27,7 +28,7 @@ "defaultPage" => "about", // Default page // User key/votekey settings - "userKeyMode" => -1, // See msite.inc.php for VOTE_* + "userKeyMode" => 1, // See msite.inc.php for VOTE_* "userKeyLength" => 6, // Vote key length in characters //"userKeyCase" => true, // If false, keys are case-INsensitive //"userKeyChars" => "abdefghjkmnpqrstwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789", // Characters to be used for key generation @@ -37,9 +38,9 @@ "voteMax" => 2, - "userTimeout" => 120, // In minutes "admTimeout" => 15, + "admTimeout" => 60, // Entry file paths and URL prefixes "entryMaxSize" => 16 * 1024 * 1024, // max file size @@ -47,9 +48,9 @@ "entryPathPerms" => 0755, "entryFilePerms" => 0644, - "previewMaxSize" => 2 * 1024 * 1024, // max file size "previewPath" => "/home/ccr/fapdev/previews/", // should be absolute path "previewURL" => "http://localhost:8888/previews/", // can be relative (should point to same dir as previewPath) + "previewMaxSize" => 16 * 1024 * 1024, // max file size "thumbnailSubDir" => "tn/", // relative subdir to previewPath and previewURL "previewPathPerms" => 0711, "previewFilePerms" => 0644, @@ -63,8 +64,7 @@ //"avconv_exe" => "ffmpeg", // avconv/ffmpeg binary executable //"gfxconv_exe" => "gfxconv", //"openmpg123_exe" => "openmpt123", - - "openmpt123_args" => "", // Extra commandline arguments for openmpt123 + "openmpt123_args" => "--filter 1", // Extra commandline arguments for openmpt123 // Samples to be generated, and their avconv settings "sampleTypes" => array( @@ -87,16 +87,16 @@ date_default_timezone_set("Europe/Helsinki"); $securePages = array( - "/fap2014/register" => true, - "/fap2014/vote" => false, + "register" => true, + "vote" => true, ); -$pageTitle = "Finnish Amiga Party 2014"; +$pageTitle = "Finnish Amiga Party 2017"; $pageCharset = "utf-8"; $pageCSS = array( "css/main.css" => FALSE, - "css/desktop.css" => "only screen and (min-width: 801px)", + "css/desktop.css" => "only screen and (min-width: 800px)", "css/mobile.css" => "only screen and (max-width: 799px), only screen and (max-device-width: 799px)" );