Last change
on this file since 24879 was
19815,
checked in by julien1311, 12 years ago
|
first working version
|
-
Property svn:eol-style set to
LF
|
File size:
519 bytes
|
Rev | Line | |
---|
[19778] | 1 | <?php |
---|
| 2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | function plugin_install() { |
---|
[19815] | 5 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
| 6 | include_once(dirname(__FILE__).'/install/config_default.inc.php'); |
---|
| 7 | |
---|
| 8 | mtt_install($config_default); |
---|
[19778] | 9 | } |
---|
| 10 | |
---|
| 11 | function plugin_activate() { |
---|
[19815] | 12 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
[19778] | 13 | |
---|
[19815] | 14 | mtt_update_db(); |
---|
[19778] | 15 | } |
---|
| 16 | |
---|
| 17 | function plugin_uninstall() { |
---|
[19815] | 18 | include_once(dirname(__FILE__).'/install/functions.inc.php'); |
---|
[19778] | 19 | |
---|
[19815] | 20 | mtt_delete_conf("mobile_theme_for_tablets"); |
---|
[19778] | 21 | } |
---|
| 22 | |
---|
| 23 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.