source:
extensions/PersoFooter/maintain.inc.php
@
27451
Last change on this file since 27451 was 11216, checked in by , 13 years ago | |
---|---|
File size: 409 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
4 | |
5 | function 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 | |
14 | function 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.