mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-25 19:00:03 +03:00

create new theme standard pages with tpl, css, js and images update backend to handle pages add config use_standard_pages on update set config to false, on install set config to true add standard pages to no be ingored in git
22 lines
875 B
PHP
22 lines
875 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 = 'add config parameter to override Theme Login & Registration Pages';
|
|
|
|
// we set it to false in this upgrade script, as opposed to the default value
|
|
// for a new installation, because it was the default behavior before Piwigo 16
|
|
conf_update_param('use_standard_pages', false);
|
|
|
|
echo "\n".$upgrade_description."\n";
|
|
|
|
?>
|