Add custom admin feature

This commit is contained in:
Hani Rouatbi
2023-01-17 12:58:25 +01:00
parent 89dadc5930
commit c3673d3bcf
2 changed files with 26 additions and 7 deletions

4
go.php
View File

@@ -573,7 +573,7 @@ switch ($current_go_case)
{
delete_cache('data_stats');
$text = $title = sprintf($lang['SYNCING_DONE'], $lang['ALL_FILES']);
$link_to_go = './admin/?cp=r_repair#!cp=r_repair';
$link_to_go = './'.$customadminpath.'/?cp=r_repair#!cp=r_repair';
}
else
{
@@ -604,7 +604,7 @@ switch ($current_go_case)
{
delete_cache('data_stats');
$text = $title = sprintf($lang['SYNCING_DONE'], $lang['ALL_IMAGES']) . ' (' . (! $start ? 0 : $start) . '->' . (! $end ? '?' : $end) . ')';
$link_to_go = './admin/?cp=r_repair#!cp=r_repair';
$link_to_go = './'.$customadminpath.'/?cp=r_repair#!cp=r_repair';
}
else
{