Skip to content

Commit 4e01eb4

Browse files
authored
Merge pull request #89 from HiEventsDev/develop
Disable query logging by default
2 parents 7b3d980 + b2ffeaf commit 4e01eb4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Hi.Events is designed to help you create, manage, and sell tickets for events of
7575
-**Full and Partial Refund Support:** Manage full and partial refunds with ease.
7676
- 📧 **Email Notifications:** Keep attendees informed with automated email notifications.
7777
- 📱 **Mobile-Responsive:** Enjoy a seamless experience on any device.
78-
- 🌐 **Multi-Language Support:** Support for multiple languages - `Coming Soon!`
78+
- 🌐 **Multi-Language Support:** Support for multiple languages (English, Português, Español, 中文 (Zhōngwén), Deutsch, Français)
7979
- 🎉 **And much more!**
8080

8181
## 🚀 Getting Started

backend/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ APP_NAME=Hi.Events
22
APP_ENV=local
33
APP_KEY=base64:DwMidgIu8YVSEg0BLMrh5JS2dk1POpCn3rvDaZk3fEQ=
44
APP_DEBUG=true
5+
APP_LOG_QUERIES=false
56
APP_URL=http://localhost
67
APP_PORT=1234
78
APP_FRONTEND_URL=https://localhost:8443

backend/app/Providers/AppServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function register(): void
2929
*/
3030
public function boot(): void
3131
{
32-
if (env('APP_DEBUG') === true) {
32+
if (env('APP_DEBUG') === true && env('APP_LOG_QUERIES') === true && !app()->isProduction()) {
3333
DB::listen(
3434
static function ($query) {
3535
File::append(

0 commit comments

Comments
 (0)