source: extensions/pdf2tab/maintain.inc.php @ 27445

Last change on this file since 27445 was 19877, checked in by julien1311, 12 years ago

[pdf2tab] load admin.css only on admin pages

  • Property svn:eol-style set to LF
File size: 509 bytes
Line 
1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4function plugin_install() {
5        require_once(dirname(__FILE__).'/install/functions.inc.php');
6        require(dirname(__FILE__).'/install/config_default.inc.php');
7
8        pdf2tab_install($config_default);
9}
10
11function plugin_activate() {
12        require_once(dirname(__FILE__).'/install/functions.inc.php');
13       
14        pdf2tab_update_db();
15}
16
17function plugin_uninstall() {
18        require_once(dirname(__FILE__).'/install/functions.inc.php');
19
20        pdf2tab_delete_conf("pdf2tab");
21}
22
23?>
Note: See TracBrowser for help on using the repository browser.