Added Setting.php, [Logs, Messages] Model

This commit is contained in:
Gitea
2025-04-23 17:52:22 +05:30
parent 20ebb7e4a4
commit b799ac3f9a
20 changed files with 1704 additions and 10 deletions

View File

@@ -1,7 +1,25 @@
<?php
use App\Models\ZEmail;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Route::get('ac', function () {
return json_decode(config('app.settings.configuration_settings'))->random_username_length_max ?? 0;
//return json_decode(config('app.settings.configuration_settings')) ?? [];
});
Route::get('bc', function (){
return ZEmail::check();
});
Route::get('zz', function (){
try {
ZEmail::connectMailBox();
} catch (Exception $ex) {
return $ex->getMessage();
}
});