Ignore:
Timestamp:
Apr 4, 2011, 6:17:34 PM (14 years ago)
Author:
Eric
Message:

r10042 merged from trunk to branch 2.2

Location:
extensions/HistoryIPExcluder/branches/2.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/HistoryIPExcluder/branches/2.2/include/functions.inc.php

    r5615 r10043  
    4646  return $plugin ;
    4747}
     48
     49// Debugger function
     50function HIPELog($var1, $var2, $var3, $var4)
     51{
     52   $fo=fopen (HIPE_PATH.'log.txt','a') ;
     53   fwrite($fo,"======================\n") ;
     54   fwrite($fo,'le ' . date('D, d M Y H:i:s') . "\r\n");
     55   fwrite($fo,$var1 ."\r\n") ;
     56   fwrite($fo,$var2 ."\r\n") ;
     57   fwrite($fo,$var3 ."\r\n") ;
     58   fwrite($fo,$var4 ."\r\n") ;
     59   fclose($fo) ;
     60}
    4861?>
  • extensions/HistoryIPExcluder/branches/2.2/main.inc.php

    r9883 r10043  
    22/*
    33Plugin Name: History IP Excluder
    4 Version: 2.2.1
     4Version: 2.2.2
    55Description: Permet l'exclusion d'une IP ou d'une plage d'IP de l'historique et de les blacklister à l'inscription - Base MySql seulement! / Excludes one IP or a range of IP from the history and to blacklist them on registration - MySql database only!
    6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=147
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=147
    77Author: Nicco, Eric
    88Author URI: http://gallery-nicco.no-ip.org - http://www.infernoweb.net
     
    2828
    29292.2.1             - Bug fixed on plugin upgrade from 2.1.x version
     30
     312.2.2             - Another bug fixed on plugin upgrade from 2.2.x version
    3032
    3133--------------------------------------------------------------------------------
  • extensions/HistoryIPExcluder/branches/2.2/maintain.inc.php

    r9883 r10043  
    9393  /* *********************************** */
    9494  $HIPE_Config = unserialize($conf['HistoryIPConfig']);
    95   if ($HIPE_Config['Version'] != '2.2.0')
     95  if ($HIPE_Config['Version'] == '2.1.1')
    9696  {
    9797    upgrade_211();
     
    101101  /* *********************************** */
    102102  $HIPE_Config = unserialize($conf['HistoryIPConfig']);
    103   if ($HIPE_Config['Version'] != '2.2.1')
     103  if ($HIPE_Config['Version'] == '2.2.0')
    104104  {
    105105    upgrade_220();
Note: See TracChangeset for help on using the changeset viewer.