mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update ajax.php
This commit is contained in:
parent
478d50dec0
commit
3ce0fa3236
6
ajax.php
6
ajax.php
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user