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

Last change on this file since 30438 was 11216, checked in by ddtddt, 13 years ago

[extensions] - PersoFooter - first release

File size: 409 bytes
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.