One Hat Cyber Team
Your IP :
172.70.127.239
Server IP :
188.114.96.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
htmlOld
/
app
/
Providers
/
Edit File:
AppServiceProvider.php
<?php namespace App\Providers; use App\Models\Dictionary; use Illuminate\Pagination\Paginator; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\View; class AppServiceProvider extends ServiceProvider { /** * Register any application services. */ public function register(): void { // } /** * Bootstrap any application services. */ public function boot(): void { Paginator::useBootstrapFive(); Paginator::useBootstrapFour(); $dictionaryItems = Dictionary::inRandomOrder()->take(4)->get(); view()->share('page_title', ''); View::share('dictionary_items', $dictionaryItems); } }
Simpan