mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00

- Implementation of a new modal for modifying a user or guest - Addition of a function to allow plugins to add a tab to the new user modal - Fix bug: "badger-number" is updated when a user is added or deleted - Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly - Added a new api method for modifying the main user and generating a link to reset a password - Passed $conf[‘webmaster_id’] in database configuration
22 lines
No EOL
871 B
PHP
22 lines
No EOL
871 B
PHP
<?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 = 'convert file configuration setting webmaster_id to database';
|
|
|
|
// If the webmaster_id has been modified, it must be present in local/config/config.inc.php
|
|
// so we retrieve it and insert it into the database.
|
|
conf_update_param('webmaster_id', $conf['webmaster_id'] ?? 1);
|
|
|
|
echo "\n".$upgrade_description."\n";
|
|
|
|
?>
|