Last change
on this file since 29362 was
8115,
checked in by ddtddt, 14 years ago
|
[extensions] - PersoAbout - Firs release
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
406 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 ("persoAbout","","html displayed on the about page of your galler...");'; |
---|
10 | pwg_query($query); |
---|
11 | |
---|
12 | } |
---|
13 | |
---|
14 | function plugin_uninstall() |
---|
15 | { |
---|
16 | $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="persoAbout" LIMIT 1;'; |
---|
17 | pwg_query($q); |
---|
18 | } |
---|
19 | |
---|
20 | |
---|
21 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.