Last change
on this file since 11277 was
10841,
checked in by mistic100, 13 years ago
|
add an other (don't forget to test before commit...)
|
File size:
364 bytes
|
Line | |
---|
1 | <?php |
---|
2 | function plugin_install() |
---|
3 | { |
---|
4 | global $conf; |
---|
5 | |
---|
6 | if (!isset($conf['cryptographp_theme'])) |
---|
7 | { |
---|
8 | pwg_query('INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("cryptographp_theme","cryptographp","CryptograPHP theme");'); |
---|
9 | } |
---|
10 | } |
---|
11 | |
---|
12 | function plugin_uninstall() |
---|
13 | { |
---|
14 | pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="cryptographp_theme" LIMIT 1'); |
---|
15 | } |
---|
16 | |
---|
17 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.