From 65ecde4b518485f2f2dee0d637435c4ceea56bdc Mon Sep 17 00:00:00 2001 From: Giuseppe Montuoro Date: Fri, 6 Dec 2024 23:10:54 +0100 Subject: [PATCH 1/2] Scheduler timezone in app.php (#1268) --- config/app.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index b740d465ed..e4a78cb57e 100644 --- a/config/app.php +++ b/config/app.php @@ -63,7 +63,7 @@ */ 'asset_url' => env('ASSET_URL', null), - + /* |-------------------------------------------------------------------------- | Temporary Path @@ -195,6 +195,19 @@ 'timezone' => 'UTC', + /* + |-------------------------------------------------------------------------- + | Scheduler Timezone + |-------------------------------------------------------------------------- + | + | This property specifies the default timezone for your application's + | scheduled tasks. You can set it independently of the application's + | default timezone to ensure that schedules run at the desired local time. + | + */ + + 'schedule_timezone' => 'UTC', + /* |-------------------------------------------------------------------------- | Application Locale Configuration From a7f9ce52f27955ce6c98cb6a64e27ea0b7fb5237 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Sat, 7 Dec 2024 03:46:47 -0500 Subject: [PATCH 2/2] Remove redundant backend route (#1258) Co-authored-by: Ben Thomson --- modules/backend/routes.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/backend/routes.php b/modules/backend/routes.php index 7ca92974df..f4e670054d 100644 --- a/modules/backend/routes.php +++ b/modules/backend/routes.php @@ -20,7 +20,7 @@ Event::fire('backend.beforeRoute'); /* - * Other pages + * Route everything to `Backend\Classes\BackendController`, which itself acts as a router for the Backend. */ Route::group([ 'middleware' => ['web'], @@ -29,11 +29,6 @@ Route::any('{slug?}', 'Backend\Classes\BackendController@run')->where('slug', '(.*)?'); }); - /* - * Entry point - */ - Route::any(Config::get('cms.backendUri', 'backend'), 'Backend\Classes\BackendController@run')->middleware('web'); - /** * @event backend.route * Fires after backend routes have been added