Fix path to viewtorrent.php

#172. PHP Warning in GET /profile.php
#173. PHP Compile Error in GET /profile.php
This commit is contained in:
Vasily Komrakov 2017-02-12 11:22:20 +03:00
commit b292483666
No known key found for this signature in database
GPG key ID: 558236680C20A69A

View file

@ -176,7 +176,7 @@ if (IS_ADMIN) {
// Show users torrent-profile
if (IS_AM || $profile_user_id || !bf($profiledata['user_opt'], 'user_opt', 'user_dls')) {
require(UCP_DIR . 'viewtorrent.php');
require UCP_DIR . '/viewtorrent.php';
}
// Ajax bt_userdata