@php // Single database query for both favicon and loading logo $customLogo = DB::table('custom_logos')->where('status', 1)->first(); $faviconPath = $customLogo ? asset('uploads/' . $customLogo->fav_icon) : asset('/frontend/assets/images/icons/favicon.ico'); $loadingLogo = $customLogo ? asset('uploads/' . $customLogo->loading_logo) : asset('frontend/assets/images/03-19-26-213_512.gif'); @endphp