* feature 3142: upgrade script to Piwigo 2.7

* link to Tour 2_7_0 at the end of upgrade

* activate plugin Take a Tour by default


git-svn-id: http://piwigo.org/svn/trunk@29665 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2014-09-20 11:43:01 +00:00
parent 4e612f3e59
commit b0cc8f1bc2
7 changed files with 194 additions and 15 deletions
+1 -1
View File
@@ -1512,7 +1512,7 @@ function load_language($filename, $dirname = '', $options = array())
}
$dirname .= 'language/';
$default_language = defined('PHPWG_INSTALLED') ?
$default_language = defined('PHPWG_INSTALLED') and !defined('UPGRADES_PATH') ?
get_default_language() : PHPWG_DEFAULT_LANGUAGE;
// construct list of potential languages