Fixed rhpz.org

This commit is contained in:
2026-07-02 10:41:31 +02:00
parent 04b9db3359
commit 96d2623b67
13 changed files with 47 additions and 7 deletions

View File

@@ -19,10 +19,14 @@ class ShortLinkController extends Controller
'l' => 'lua-scripts',
];
public function index(){
return response()->redirectToRoute('home');
}
public function legacy( int $wpId )
{
$log = DB::table('migrations_logs')
->where('source_system')
->where('source_system', 'wp')
->whereIn('source_table', ['wp_posts', 'wp_posts__news'] )
->where('source_id', $wpId)
->first(['target_table', 'target_id']);