view mconfig.inc.php.example @ 733:a088d62531dc fap2012

Oops, fix printable results list.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 19 Nov 2014 00:06:44 +0200
parents acd343974291
children 6cd2ae354e0a
line wrap: on
line source

<?
//
// Site configuration, important settings that MUST be
// reviewed and set correctly before deployment.
//
$siteSettings = array(

  // Admin interface password
//  "admPassword"     => "xxx",

  // SQL database PHP data source name, etc. Refer to
  // http://www.php.net/manual/en/pdo.construct.php
  // Has been tested with SQLite3 and PostgreSQL backends.
  "sqlDB"           => "sqlite:fap.sqlite3",
//  "sqlDB"           => "pgsql:dbname=fap2014",
//  "sqlUsername"     => "",  // Leave unset if not needed
//  "sqlPassword"     => "",  // --""--
//  "sqlOptions"      => array(), // See PDO documentation

  // Log debug information in error_log, also enables use of GET
  // requests for certain data that normally can only be used via
  // POST (for easier manual testing). WARNING! Do NOT enable
  // for production sites without a good reason.
  "debug"           => false,

  // Default page
  "defaultPage"     => "about", // Default page

  // Vote key length in characters
  "userKeyLength"   => 8,

  // Voting settings
  "voteMin"         => -1,
  "voteMax"         => 2,
  
  "voteKeyMode"     => -1, // See msite.inc.php for VOTE_*

  "userTimeout"     => 120,
  "admTimeout"      => 15,
);

date_default_timezone_set("Europe/Helsinki");

$securePages = array(
  "/fap2013/register" => true,
  "/fap2013/vote" => false,
);


$pageTitle = "Finnish Amiga Party 2013";
$pageCharset = "utf-8";
$pageCSS = array(
  "css/main.css" => "",
  "css/desktop.css" => "only screen and (min-width: 801px)",
  "css/mobile.css" => "only screen and (max-width: 799px), only screen and (max-device-width: 799px)"
);

?>