source: extensions/imgpreview/maintain.inc.php @ 11247

Last change on this file since 11247 was 11091, checked in by flop25, 14 years ago

default value at installation

File size: 440 bytes
Line 
1<?php
2
3function plugin_install()
4{
5    global $prefixeTable;
6    $q = '
7INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
8        VALUES
9        ("imgpreview" , "600#600" , "max-width#max-height");';
10    pwg_query($q);
11
12}
13
14
15
16function plugin_activate()
17{
18    global $prefixeTable;
19}//fin active
20
21
22
23
24function plugin_uninstall()
25{
26        global $prefixeTable;
27  pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param IN (\'imgpreview\')');
28}//fin uninstall
29
30
31?>
Note: See TracBrowser for help on using the repository browser.