Update ajax.php

This commit is contained in:
Roman Kelesidis 2023-10-03 18:15:25 +07:00
parent 478d50dec0
commit 3ce0fa3236

View File

@ -29,12 +29,16 @@ switch ($ajax->action)
case 'view_torrent': case 'view_torrent':
case 'mod_action': case 'mod_action':
case 'change_tor_status': case 'change_tor_status':
case 'change_torrent':
case 'gen_passkey': case 'gen_passkey':
require(ATTACH_DIR . 'attachment_mod.php'); require(ATTACH_DIR . 'attachment_mod.php');
require(INC_DIR . 'functions_torrent.php'); require(INC_DIR . 'functions_torrent.php');
break; break;
case 'change_torrent':
require(ATTACH_DIR . 'attachment_mod.php');
require(INC_DIR . 'functions_torrent.php');
break;
case 'user_register': case 'user_register':
require(INC_DIR . 'functions_validate.php'); require(INC_DIR . 'functions_validate.php');
break; break;