b374k
m1n1 1.01
Apache
Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
uid=2234(oyaide) gid=100(users) groups=100(users)
server ip : 213.186.33.18 | your ip : 216.73.216.109
safemode OFF
 >  / home / oyaide / www / moycompany.com / piwigo2 / plugins / PersoFooter /
Filename/home/oyaide/www/moycompany.com/piwigo2/plugins/PersoFooter/maintain.class.php
Size1.91 kb
Permissionrw----r--
Owneroyaide : users
Create time30-Mar-2016 16:36
Last modified18-Mar-2016 22:25
Last accessed18-Mar-2016 22:25
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
// +-----------------------------------------------------------------------+
// | Perso Footer plugin for piwigo |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2011 - 2016 ddtddt http://temmii.com/piwigo/ |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation |
// | |
// | This program is distributed in the hope that it will be useful, but |
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
// | General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+

if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');

class PersoFooter_maintain extends PluginMaintain
{
function install($plugin_version, &$errors=array())
{
$query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("persoFooter","","html displayed on the footer page of your galler...");';
pwg_query($query);
}

function update($old_version, $new_version, &$errors=array())
{
}

function uninstall()
{
conf_delete_param('persoFooter');
}
}