Changeset 28840 for extensions/EasyCaptcha/main.inc.php
- Timestamp:
- Jun 29, 2014, 4:21:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/EasyCaptcha/main.inc.php
r28592 r28840 20 20 define('EASYCAPTCHA_PATH' , PHPWG_PLUGINS_PATH . EASYCAPTCHA_ID . '/'); 21 21 define('EASYCAPTCHA_ADMIN', get_root_url() . 'admin.php?page=plugin-' . EASYCAPTCHA_ID); 22 define('EASYCAPTCHA_VERSION', 'auto');23 22 24 23 … … 39 38 function easycaptcha_init() 40 39 { 41 global $conf, $pwg_loaded_plugins; 42 43 include_once(EASYCAPTCHA_PATH . 'maintain.inc.php'); 44 $maintain = new EasyCaptcha_maintain(EASYCAPTCHA_ID); 45 $maintain->autoUpdate(EASYCAPTCHA_VERSION, 'install'); 40 global $conf; 41 $conf['EasyCaptcha'] = safe_unserialize($conf['EasyCaptcha']); 46 42 47 43 load_language('plugin.lang', EASYCAPTCHA_PATH); 48 $conf['EasyCaptcha'] = unserialize($conf['EasyCaptcha']);49 44 } 50 45
Note: See TracChangeset
for help on using the changeset viewer.