mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
download permission deny css load error
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="id"
|
prop="id"
|
||||||
label="Id"
|
label="Id"
|
||||||
width="50"
|
width="100"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ if (@ini_get('output_handler') == 'ob_gzhandler' AND @ob_get_length() !== false)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if ($CURUSER['downloadpos']=="no") {
|
if ($CURUSER['downloadpos']=="no") {
|
||||||
|
require_once(get_langfile_path());
|
||||||
permissiondenied();
|
permissiondenied();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,6 +103,7 @@ if (filesize($fn) == 0) {
|
|||||||
httperr();
|
httperr();
|
||||||
}
|
}
|
||||||
if (($row['banned'] == 'yes' && get_user_class() < $seebanned_class) || !can_access_torrent($row)) {
|
if (($row['banned'] == 'yes' && get_user_class() < $seebanned_class) || !can_access_torrent($row)) {
|
||||||
|
require_once(get_langfile_path());
|
||||||
permissiondenied();
|
permissiondenied();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ permissiondenied();
|
|||||||
function go_back()
|
function go_back()
|
||||||
{
|
{
|
||||||
global $lang_settings;
|
global $lang_settings;
|
||||||
|
\Nexus\Database\NexusDB::cache_del('nexus_settings_in_laravel');
|
||||||
|
\Nexus\Database\NexusDB::cache_del('nexus_settings_in_nexus');
|
||||||
stdmsg($lang_settings['std_message'], $lang_settings['std_click']."<a class=\"altlink\" href=\"settings.php\">".$lang_settings['std_here']."</a>".$lang_settings['std_to_go_back']);
|
stdmsg($lang_settings['std_message'], $lang_settings['std_click']."<a class=\"altlink\" href=\"settings.php\">".$lang_settings['std_here']."</a>".$lang_settings['std_to_go_back']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user