what am I even doing

This commit is contained in:
Roscoe 2025-01-01 21:46:20 +00:00
parent ad60b38826
commit 296c823fc4
2 changed files with 3 additions and 3 deletions

View file

@ -20,8 +20,8 @@ class GuestbookEntry extends Model
*/
public static function insertGuestbookEntry(Request $request) {
$newEntry = new GuestbookEntry;
$newEntry->name = htmlspecialchars($request->get('name'));
$newEntry->message = htmlspecialchars($request->get('message'));
$newEntry->name = $request->get('name');
$newEntry->message = $request->get('message');
$newEntry->ip = $request->ip();
$newEntry->agent = $request->userAgent();
$newEntry->admin = auth()->check();

View file

@ -5,7 +5,7 @@
return [
'name' => env('APP_NAME', 'diskfloppy.me'),
'version' => '2024.12.27',
'version' => '2025.01.01',
'env' => env('APP_ENV', 'production'),
'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),