Changeset 10043 for extensions/HistoryIPExcluder
- Timestamp:
- Apr 4, 2011, 6:17:34 PM (14 years ago)
- Location:
- extensions/HistoryIPExcluder/branches/2.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/HistoryIPExcluder/branches/2.2/include/functions.inc.php
r5615 r10043 46 46 return $plugin ; 47 47 } 48 49 // Debugger function 50 function 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 } 48 61 ?> -
extensions/HistoryIPExcluder/branches/2.2/main.inc.php
r9883 r10043 2 2 /* 3 3 Plugin Name: History IP Excluder 4 Version: 2.2. 14 Version: 2.2.2 5 5 Description: 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://p hpwebgallery.net/ext/extension_view.php?eid=1476 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=147 7 7 Author: Nicco, Eric 8 8 Author URI: http://gallery-nicco.no-ip.org - http://www.infernoweb.net … … 28 28 29 29 2.2.1 - Bug fixed on plugin upgrade from 2.1.x version 30 31 2.2.2 - Another bug fixed on plugin upgrade from 2.2.x version 30 32 31 33 -------------------------------------------------------------------------------- -
extensions/HistoryIPExcluder/branches/2.2/maintain.inc.php
r9883 r10043 93 93 /* *********************************** */ 94 94 $HIPE_Config = unserialize($conf['HistoryIPConfig']); 95 if ($HIPE_Config['Version'] != '2.2.0')95 if ($HIPE_Config['Version'] == '2.1.1') 96 96 { 97 97 upgrade_211(); … … 101 101 /* *********************************** */ 102 102 $HIPE_Config = unserialize($conf['HistoryIPConfig']); 103 if ($HIPE_Config['Version'] != '2.2.1')103 if ($HIPE_Config['Version'] == '2.2.0') 104 104 { 105 105 upgrade_220();
Note: See TracChangeset
for help on using the changeset viewer.