Last change
on this file since 19183 was
12496,
checked in by ddtddt, 13 years ago
|
[extensions] - add_head_element - first commit
|
File size:
375 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | |
---|
5 | |
---|
6 | function plugin_install() |
---|
7 | { |
---|
8 | $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) VALUES ("add_head_element","","add element head");'; |
---|
9 | pwg_query($query); |
---|
10 | } |
---|
11 | |
---|
12 | function plugin_uninstall() |
---|
13 | { |
---|
14 | $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="add_head_element" LIMIT 1;'; |
---|
15 | pwg_query($q); |
---|
16 | } |
---|
17 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.