mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
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 c13y_ignore config';
|
|
|
|
include_once(PHPWG_ROOT_PATH.'include/constants.php');
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
// | Upgrade content |
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
$query = "
|
|
INSERT INTO ".CONFIG_TABLE." (param,value,comment) VALUES ('c13y_ignore',null,'List of ignored anomalies');
|
|
";
|
|
pwg_query($query);
|
|
|
|
echo
|
|
"\n"
|
|
.'"'.$upgrade_description.'"'.' ended'
|
|
."\n"
|
|
;
|
|
|
|
?>
|