Changeset 31373 for extensions/BanIP/main.inc.php
- Timestamp:
- Feb 27, 2016, 9:14:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BanIP/main.inc.php
r31368 r31373 8 8 Author URI: http://www.temmii.com 9 9 */ 10 11 // +-----------------------------------------------------------------------+ 12 // | Ban IP plugin for piwigo | 13 // +-----------------------------------------------------------------------+ 14 // | Copyright(C) 2016 ddtddt http://temmii.com | 15 // +-----------------------------------------------------------------------+ 16 // | This program is free software; you can redistribute it and/or modify | 17 // | it under the terms of the GNU General Public License as published by | 18 // | the Free Software Foundation | 19 // | | 20 // | This program is distributed in the hope that it will be useful, but | 21 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 22 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 23 // | General Public License for more details. | 24 // | | 25 // | You should have received a copy of the GNU General Public License | 26 // | along with this program; if not, write to the Free Software | 27 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 28 // | USA. | 29 // +-----------------------------------------------------------------------+ 10 30 11 31 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 48 68 while(list($ip) = pwg_db_fetch_row($result)) 49 69 { 50 die("IP " . $ip . " ".l10n(' Plage IP ban'));70 die("IP " . $ip . " ".l10n('Range IP address banned')); 51 71 } 52 72
Note: See TracChangeset
for help on using the changeset viewer.