IP storage and attachment system bugfix. PHP 5.6+.

This commit is contained in:
Yuriy Pikhtarev 2017-06-12 03:31:39 +03:00
commit 8c6097f5d8
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
14 changed files with 74 additions and 123 deletions

View file

@ -60,12 +60,8 @@ switch ($ajax->action) {
case 'view_torrent':
case 'mod_action':
case 'change_tor_status':
case 'gen_passkey':
require ATTACH_DIR . '/attachment_mod.php';
require INC_DIR . '/functions_torrent.php';
break;
case 'change_torrent':
case 'gen_passkey':
require ATTACH_DIR . '/attachment_mod.php';
require INC_DIR . '/functions_torrent.php';
break;