Changeset 30184 for extensions/Piwecard/maintain.inc.php
- Timestamp:
- Oct 17, 2014, 8:36:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/maintain.inc.php
r28625 r30184 16 16 17 17 function plugin_activate() { 18 global $prefixeTable ;18 global $prefixeTable, $conf; 19 19 20 20 require_once('install/functions.inc.php'); … … 39 39 piwecard_db_update_from_2_4a_b3($prefixeTable.'piwecard'); 40 40 } 41 42 if (empty($conf['piwecard'])) 43 { 44 if (!defined('PIWECARD_INSTALL_PATH')) 45 { 46 define('PIWECARD_INSTALL_PATH', PHPWG_PLUGINS_PATH.'Piwecard/install/'); 47 } 48 49 load_language('plugin.lang', PHPWG_PLUGINS_PATH.'Piwecard'); 50 51 require_once('include/piwecard.class.php'); 52 $piwecard = new Piwecard(); 53 $piwecard->get_default_config(); 54 $piwecard->set_config(); 55 } 41 56 } 42 57
Note: See TracChangeset
for help on using the changeset viewer.