Changeset 3340

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

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

Location:
extensions/whois_online
Files:
4 added
6 modified

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/config.php

    r3319 r3340  
    1414if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    1515if (!defined('IN_ADMIN') or !IN_ADMIN) die('Hacking attempt!'); 
    16 global $conf, $lang; 
     16global $conf, $conf_whois, $lang; 
    1717load_language('plugin.lang', WHOIS_ONLINE_PATH); 
    1818 
    1919pwg_debug('*********** Whois configuration ***********'); 
    2020 
    21 $conf_whois = whois_online_conf(); 
     21if (!isset($conf_whois['Active'])) $conf_whois = whois_online_conf(); 
    2222$errors = array(); 
    2323$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()