changeset 743:6cd2ae354e0a

Update example config.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 19 Nov 2014 05:20:44 +0200
parents 66e415b69c75
children efb326203ceb
files mconfig.inc.php.example
diffstat 1 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mconfig.inc.php.example	Wed Nov 19 05:20:35 2014 +0200
+++ b/mconfig.inc.php.example	Wed Nov 19 05:20:44 2014 +0200
@@ -35,19 +35,28 @@
   
   "voteKeyMode"     => -1, // See msite.inc.php for VOTE_*
 
-  "userTimeout"     => 120,
+  "userTimeout"     => 120, // In minutes
   "admTimeout"      => 15,
+
+  // Entry file paths and URL prefixes
+  "entryPath" => "/home/ccr/files/", // should be absolute path
+  "previewPath" => "/home/ccr/fapdev/files/", // should be absolute path
+  "previewURL" => "http://localhost:8888/files/", // can be relative (should point to same dir as previewPath)
+  "thumbnailSubDir" => "tn/", // relative subdir to previewPath and previewURL
+  
+  "previewImageSize" => array(640, 480),
+  "previewThumbSize" => array(64, 48),
 );
 
 date_default_timezone_set("Europe/Helsinki");
 
 $securePages = array(
-  "/fap2013/register" => true,
-  "/fap2013/vote" => false,
+  "/fap2014/register" => true,
+  "/fap2014/vote" => false,
 );
 
 
-$pageTitle = "Finnish Amiga Party 2013";
+$pageTitle = "Finnish Amiga Party 2014";
 $pageCharset = "utf-8";
 $pageCSS = array(
   "css/main.css" => "",