what am I even doing
This commit is contained in:
parent
ad60b38826
commit
296c823fc4
2 changed files with 3 additions and 3 deletions
|
@ -20,8 +20,8 @@ class GuestbookEntry extends Model
|
||||||
*/
|
*/
|
||||||
public static function insertGuestbookEntry(Request $request) {
|
public static function insertGuestbookEntry(Request $request) {
|
||||||
$newEntry = new GuestbookEntry;
|
$newEntry = new GuestbookEntry;
|
||||||
$newEntry->name = htmlspecialchars($request->get('name'));
|
$newEntry->name = $request->get('name');
|
||||||
$newEntry->message = htmlspecialchars($request->get('message'));
|
$newEntry->message = $request->get('message');
|
||||||
$newEntry->ip = $request->ip();
|
$newEntry->ip = $request->ip();
|
||||||
$newEntry->agent = $request->userAgent();
|
$newEntry->agent = $request->userAgent();
|
||||||
$newEntry->admin = auth()->check();
|
$newEntry->admin = auth()->check();
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'name' => env('APP_NAME', 'diskfloppy.me'),
|
'name' => env('APP_NAME', 'diskfloppy.me'),
|
||||||
'version' => '2024.12.27',
|
'version' => '2025.01.01',
|
||||||
'env' => env('APP_ENV', 'production'),
|
'env' => env('APP_ENV', 'production'),
|
||||||
'debug' => (bool) env('APP_DEBUG', false),
|
'debug' => (bool) env('APP_DEBUG', false),
|
||||||
'url' => env('APP_URL', 'http://localhost'),
|
'url' => env('APP_URL', 'http://localhost'),
|
||||||
|
|
Loading…
Reference in a new issue