Ignore:
Timestamp:
Feb 10, 2011, 1:48:53 PM (13 years ago)
Author:
cljosse
Message:

[whois_online] Bug on version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/main.inc.php

    r9145 r9147  
    2323/*
    2424Plugin Name: Whois online
    25 Version: 2.1.e
     25Version: 2.2.0
    2626Description: Who is online?
    2727Plugin URI: http://piwigo.org/ext/extension_view.php?eid=279
     
    3737define('WHOIS_ONLINE_PATH' , PHPWG_PLUGINS_PATH . WHOIS_ONLINE_DIR . '/');
    3838
    39  
    40                 $path = WHOIS_ONLINE_PATH;
    41           $plg_data = implode( '', file($path.'main.inc.php') );
    42           if (preg_match("|Version: (.*)|", $plg_data, $val))
    43           {
    44             $Whois_online_ver = trim($val[1]);
    45           }     
    46      
    47 define('WHOIS_ONLINE_VER', $Whois_online_ver);
    4839
    4940include_once(WHOIS_ONLINE_PATH.'online.php');
Note: See TracChangeset for help on using the changeset viewer.