source: extensions/PersoFooter/maintain.inc.php @ 15555

Revision 11216, 409 bytes checked in by ddtddt, 9 years ago (diff)

[extensions] - PersoFooter - first release

Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5function plugin_install()
6{
7   
8       
9        $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("persoFooter","","html displayed on the footer page of your galler...");';
10    pwg_query($query);
11
12}
13
14function plugin_uninstall()
15{
16        $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="persoFooter" LIMIT 1;';
17    pwg_query($q);
18}
19
20
21?>
Note: See TracBrowser for help on using the repository browser.