mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #1955 search in this set (an album or some tags)
This commit is contained in:
@@ -75,3 +75,5 @@ INSERT INTO piwigo_config (param,value) VALUES ('picture_caddie_icon','true');
|
||||
INSERT INTO piwigo_config (param,value) VALUES ('picture_representative_icon','true');
|
||||
INSERT INTO piwigo_config (param,value) VALUES ('show_mobile_app_banner_in_admin','true');
|
||||
INSERT INTO piwigo_config (param,value) VALUES ('show_mobile_app_banner_in_gallery','false');
|
||||
INSERT INTO piwigo_config (param,value) VALUES ('index_search_in_set_button','true');
|
||||
INSERT INTO piwigo_config (param,value) VALUES ('index_search_in_set_action','true');
|
||||
|
||||
21
install/db/167-database.php
Normal file
21
install/db/167-database.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This file is part of Piwigo. |
|
||||
// | |
|
||||
// | For copyright and license information, please view the COPYING.txt |
|
||||
// | file that was distributed with this source code. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (!defined('PHPWG_ROOT_PATH'))
|
||||
{
|
||||
die('Hacking attempt!');
|
||||
}
|
||||
|
||||
$upgrade_description = 'add config parameters to display "search in this set" action and button';
|
||||
|
||||
conf_update_param('index_search_in_set_button', true);
|
||||
conf_update_param('index_search_in_set_action', true);
|
||||
|
||||
echo "\n".$upgrade_description."\n";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user