Changeset 10042


Ignore:
Timestamp:
Apr 4, 2011, 6:16:57 PM (9 years ago)
Author:
Eric
Message:

Another upgrade bug fixed

Location:
extensions/HistoryIPExcluder/trunk
Files:
3 edited

Legend:

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

    r5615 r10042  
    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/trunk/main.inc.php

    r9882 r10042  
    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/trunk/maintain.inc.php

    r9882 r10042  
    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.