⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
dnc
/
@core
/
app
/
Helpers
/
Edit File: FlashMsg.php
<?php namespace App\Helpers; /** * this class will contain all Flash Message helper method * * */ class FlashMsg{ public static function item_cloned($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Item Cloned Successfully') ]; } public static function item_new($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Item Added Successfully') ]; } public static function item_update($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Item Updated Successfully') ]; } public static function item_delete($msg = null){ return [ 'type' => 'danger', 'msg' => $msg ?? __('Item Deleted Successfully') ]; } public static function item_clone($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Item Cloned Successfully') ]; } public static function settings_update($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Settings Updated Successfully') ]; } public static function settings_new($msg = null){ return [ 'type' => 'success', 'msg' => $msg ?? __('Settings Added Successfully') ]; } public static function settings_delete($msg = null){ return [ 'type' => 'danger', 'msg' => $msg ?? __('Settings Deleted Successfully') ]; } public static function error($msg = null){ return [ 'type' => 'danger', 'msg' => $msg ?? __('Item Deleted Successfully') ]; } } ?>
Simpan