changeset 1095:faa835271dfd

Update example config.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Jan 2017 22:11:40 +0200
parents 563fc90de965
children bbc0a3d0b51e
files mconfig.inc.php.example
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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)"
 );