One Hat Cyber Team
Your IP :
18.216.8.36
Server IP :
104.21.112.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
app
/
Http
/
Controllers
/
Back
/
Edit File:
PaymentSettingController.php
<?php namespace App\Http\Controllers\Back; use App\{ Models\PaymentSetting, Http\Controllers\Controller, Http\Requests\PaymentSettingRequest, Repositories\Back\PaymentSettingRepository }; use Illuminate\Http\Request; class PaymentSettingController extends Controller { /** * Constructor Method. * * Setting Authentication * * @param \App\Repositories\Back\PaymentSettingRepository $repository * */ public function __construct(PaymentSettingRepository $repository) { $this->middleware('auth:admin'); $this->middleware('adminlocalize'); $this->repository = $repository; } /** * Show the form for updating resource. * * @return \Illuminate\Http\Response */ public function payment() { return view('back.settings.payment', $this->repository->payment()); } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function update(PaymentSettingRequest $request) { $this->repository->update($request); return redirect()->back()->withSuccess(__('Payment Information Updated Successfully.')); } }
Simpan