Last change
on this file since 11132 was
10841,
checked in by mistic100, 13 years ago
|
add an other (don't forget to test before commit...)
|
File size:
364 bytes
|
Rev | Line | |
---|
[10837] | 1 | <?php |
---|
| 2 | function plugin_install() |
---|
| 3 | { |
---|
| 4 | global $conf; |
---|
| 5 | |
---|
[10840] | 6 | if (!isset($conf['cryptographp_theme'])) |
---|
[10837] | 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.