Changeset 28853


Ignore:
Timestamp:
06/29/14 16:27:44 (5 years ago)
Author:
mistic100
Message:

use new maintain class

Location:
extensions/typetags
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/typetags/admin.php

    r26665 r28853  
    149149    ); 
    150150 
    151   conf_update_param('TypeTags', serialize($conf['TypeTags'])); 
     151  conf_update_param('TypeTags', $conf['TypeTags']); 
    152152  $page['infos'][] = l10n('Information data registered in database'); 
    153153} 
  • extensions/typetags/main.inc.php

    r26855 r28853  
    1212global $prefixeTable, $conf; 
    1313 
    14 define('TYPETAGS_ID',      basename(dirname(__FILE__))); 
    15 define('TYPETAGS_PATH' ,   PHPWG_PLUGINS_PATH . TYPETAGS_ID . '/'); 
    16 define('TYPETAGS_TABLE' ,  $prefixeTable . 'typetags'); 
    17 define('TYPETAGS_ADMIN',   get_root_url().'admin.php?page=plugin-' . TYPETAGS_ID); 
    18 define('TYPETAGS_VERSION', 'auto'); 
     14define('TYPETAGS_ID',     basename(dirname(__FILE__))); 
     15define('TYPETAGS_PATH' ,  PHPWG_PLUGINS_PATH . TYPETAGS_ID . '/'); 
     16define('TYPETAGS_TABLE' , $prefixeTable . 'typetags'); 
     17define('TYPETAGS_ADMIN',  get_root_url().'admin.php?page=plugin-' . TYPETAGS_ID); 
     18 
     19include_once(TYPETAGS_PATH . 'include/events_public.inc.php'); 
    1920 
    2021 
    21 $conf['TypeTags'] = unserialize($conf['TypeTags']); 
     22$conf['TypeTags'] = safe_unserialize($conf['TypeTags']); 
    2223 
    23  
    24 include_once(TYPETAGS_PATH . 'include/events_public.inc.php'); 
    2524 
    2625// tags on picture page 
Note: See TracChangeset for help on using the changeset viewer.