Changeset 3340


Ignore:
Timestamp:
05/23/09 08:39:36 (10 years ago)
Author:
vdigital
Message:

+ Some prepared flags
+ Minors (still looking for lost config case)

Location:
extensions/whois_online
Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/config.php

    r3319 r3340  
    1515if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1616if (!defined('IN_ADMIN') or !IN_ADMIN) die('Hacking attempt!'); 
    17 global $conf, $lang; 
     17global $conf, $conf_whois, $lang; 
    1818load_language('plugin.lang', WHOIS_ONLINE_PATH); 
    1919 
    2020pwg_debug('*********** Whois configuration ***********'); 
    2121 
    22 $conf_whois = whois_online_conf(); 
     22if (!isset($conf_whois['Active'])) $conf_whois = whois_online_conf(); 
    2323$errors = array(); 
    2424$infos = array(); 
  • extensions/whois_online/main.inc.php

    r3336 r3340  
    3434/** History ** 
    3535  2009-05-xx 2.0.j 
     36                                                  
    3637                                                 Additionnal flags (Ireland, Armenia, Estonia, Kazakhstan, Belarus, Andorra,  
    37                                                  Turkey, Albania, Bosnia and Herzegovina, Azerbaijan, Iceland and some other revised) 
     38                                                 Turkey, Albania, Bosnia and Herzegovina, Azerbaijan, Iceland, European Union, 
     39                                                 Israel, Morocco, New Caledonia and some other revised) 
    3840  2009-05-20 2.0.i 
    3941                                                 Bug resolution. 
  • extensions/whois_online/online.php

    r3336 r3340  
    22 
    33if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    4 global $conf; 
     4global $conf, $conf_whois; 
    55 
    66/* Secure Config */ 
    77 
    8 $conf_whois = whois_online_conf(); 
     8if (!isset($conf_whois['Active'])) $conf_whois = whois_online_conf(); 
    99 
    1010function whois_online_conf() 
Note: See TracChangeset for help on using the changeset viewer.