•  » Engine
  •  » default configuration settings changed

#1 2011-06-01 15:44:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14067

default configuration settings changed

Hi Developers,

On branch 2.2, I've changed a few settings in include/config_defaults.inc.php :

Index: include/config_default.inc.php
===================================================================
--- include/config_default.inc.php      (revision 11188)
+++ include/config_default.inc.php      (working copy)
@@ -152,7 +152,7 @@

// show_version : shall the version of Piwigo be displayed at the
// bottom of each page ?
-$conf['show_version'] = true;
+$conf['show_version'] = false;

// meta_ref to reference multiple sets of incorporated pages or elements
// Set it false to avoid referencing in google, and other search engines.
@@ -310,7 +310,7 @@
//
// This configuration parameter is set to true in BSF branch and to false
// elsewhere.
-$conf['check_upgrade_feed'] = true;
+$conf['check_upgrade_feed'] = false;

// rate_items: available rates for a picture
$conf['rate_items'] = array(0,1,2,3,4,5);
@@ -445,7 +445,7 @@
$conf['show_queries'] = false;

// show_gt : display generation time at the bottom of each page
-$conf['show_gt'] = true;
+$conf['show_gt'] = false;

// debug_l10n : display a warning message each time an unset language key is
// accessed
@@ -458,7 +458,7 @@
$conf['debug_mail'] = false;

// die_on_sql_error: if an SQL query fails, should everything stop?
-$conf['die_on_sql_error'] = true;
+$conf['die_on_sql_error'] = false;

These are the changes I make each time I release a new stable version. To avoid changing it on every new release, I just made it the default configuration on the stable branch.

If you want to get back the previous settings, add this in your local configuration:

Code:

$conf['show_version'] = true;
$conf['check_upgrade_feed'] = true;
$conf['show_gt'] = true;
$conf['die_on_sql_error'] = true;

Note: I didn't change it on trunk.

Offline

 
  •  » Engine
  •  » default configuration settings changed

Board footer

Powered by FluxBB