⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
b2c-booking.dev-unit.com
/
config
/
View File Name :
chatify.php
<?php return [ /* |-------------------------------------------------------------------------- | Messenger app name |-------------------------------------------------------------------------- | | This value is the name of the app which is used in the views or elsewhere | in this app. | */ 'name' => env('CHATIFY_NAME', 'Messenger'), /* |-------------------------------------------------------------------------- | Package path |-------------------------------------------------------------------------- | | This value is the path of the package or in other meaning, it is the prefix | of all the registered routes in this package. | | e.g. : app.test/chatify */ 'path' => env('CHATIFY_PATH', 'messenger'), 'routes' => [ 'prefix' => env('CHATIFY_ROUTES_PREFIX', 'chatify'), 'middleware' => env('CHATIFY_ROUTES_MIDDLEWARE', ['web','auth']), 'namespace' => env('CHATIFY_ROUTES_NAMESPACE', 'Chatify\Http\Controllers'), ], 'api_routes' => [ 'prefix' => env('CHATIFY_API_ROUTES_PREFIX', 'chatify/api'), 'middleware' => env('CHATIFY_API_ROUTES_MIDDLEWARE', ['api']), 'namespace' => env('CHATIFY_API_ROUTES_NAMESPACE', 'Chatify\Http\Controllers\Api'), ], /* |-------------------------------------------------------------------------- | Package's web routes middleware |-------------------------------------------------------------------------- | | This value is the middleware of all routes registered in this package | which is by default : auth | */ /* |-------------------------------------------------------------------------- | Pusher API credentials |-------------------------------------------------------------------------- | | This array includes all the credentials that required to use pusher API | with Chatty package, which is used to broadcast events over websockets to | create a real-time features. | */ 'pusher' => [ 'key' => env('PUSHER_APP_KEY'), 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), 'encrypted' => false, 'useTLS' => env('PUSHER_APP_USETLS'), ], ], /* |-------------------------------------------------------------------------- | User Avatar |-------------------------------------------------------------------------- | | This is the user's avatar setting that includes : | [folder] which is the default folder name to upload and get | user's avatar from. | [default] which is the default avatar file name for users stored | in database. | */ 'user_avatar' => [ 'folder' => 'users-avatar', 'default' => 'avatar.png', ], /* |-------------------------------------------------------------------------- | Attachments By Default |-------------------------------------------------------------------------- | | This array contains the important default values that used in this package. | | The first value in this array is the default folder name in the storage | which is all the attachments will be stored in. | This is also going to be used in attachments urls in the views. | */ 'attachments' => [ 'folder' => 'attachments', 'download_route_name' => 'attachments.download', 'allowed_images' => (array) ['png','jpg','jpeg','gif'], 'allowed_files' => (array) ['zip','rar','txt'], 'max_upload_size' => 150, // MB ], /* |------------------------------------- | Messenger's colors |------------------------------------- */ 'colors' => (array) [ '#2180f3', '#2196F3', '#00BCD4', '#3F51B5', '#673AB7', '#4CAF50', '#FFC107', '#FF9800', '#ff2522', '#9C27B0', ], ];