Last change
on this file since 25333 was
24879,
checked in by mistic100, 11 years ago
|
create plugin PublicAdmin
(only photo:name, photo:comment and photo:author are editable for now)
|
File size:
548 bytes
|
Rev | Line | |
---|
[24879] | 1 | <?php |
---|
| 2 | defined('PHPWG_ROOT_PATH') or die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | // defined('PUBLICADMIN_ID') or define('PUBLICADMIN_ID', basename(dirname(__FILE__))); |
---|
| 5 | // include_once(PHPWG_PLUGINS_PATH . PUBLICADMIN_ID . '/include/install.inc.php'); |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | // function plugin_install() |
---|
| 9 | // { |
---|
| 10 | // publicadmin_install(); |
---|
| 11 | // define('publicadmin_installed', true); |
---|
| 12 | // } |
---|
| 13 | |
---|
| 14 | // function plugin_activate() |
---|
| 15 | // { |
---|
| 16 | // if (!defined('publicadmin_installed')) |
---|
| 17 | // { |
---|
| 18 | // publicadmin_install(); |
---|
| 19 | // } |
---|
| 20 | // } |
---|
| 21 | |
---|
| 22 | // function plugin_uninstall() |
---|
| 23 | // { |
---|
| 24 | // publicadmin_uninstall(); |
---|
| 25 | // } |
---|
Note: See
TracBrowser
for help on using the repository browser.