Skip to content

Commit

Permalink
#405 - csf
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofrewak committed Mar 26, 2024
1 parent b916fb0 commit f6d5cce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"faker_locale" => "pl_PL",
"cipher" => "AES-256-CBC",
"key" => env("APP_KEY"),
'previous_keys' => [
"previous_keys" => [
...array_filter(
explode(',', env('APP_PREVIOUS_KEYS', ''))
explode(",", env("APP_PREVIOUS_KEYS", "")),
),
],
'maintenance' => [
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
"maintenance" => [
"driver" => env("APP_MAINTENANCE_DRIVER", "file"),
"store" => env("APP_MAINTENANCE_STORE", "database"),
],
];
8 changes: 4 additions & 4 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));
define("LARAVEL_START", microtime(true));

if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
if (file_exists($maintenance = __DIR__ . "/../storage/framework/maintenance.php")) {
require $maintenance;
}

require __DIR__.'/../vendor/autoload.php';
require __DIR__ . "/../vendor/autoload.php";

$application = (require_once __DIR__.'/../bootstrap/app.php');
$application = require_once __DIR__ . "/../bootstrap/app.php";
$application->handleRequest(Request::capture());
2 changes: 1 addition & 1 deletion routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
declare(strict_types=1);

use Illuminate\Cache\Console\PruneStaleTagsCommand;
use Illuminate\Support\Facades\Schedule;
use Toby\Console\Commands\Database\BackupPostgresDatabase;
use Toby\Console\Commands\SendDailySummaryToSlack;
use Toby\Console\Commands\SendNotificationAboutBenefitsReportCreation;
use Toby\Console\Commands\SendNotificationAboutUpcomingAndOverdueMedicalExams;
use Toby\Console\Commands\SendNotificationAboutUpcomingAndOverdueOhsTraining;
use Toby\Console\Commands\SendVacationRequestSummariesToApprovers;
use Toby\Jobs\CheckYearPeriod;
use Illuminate\Support\Facades\Schedule;

Schedule::command(SendDailySummaryToSlack::class)
->when(config("services.slack.enabled"))
Expand Down

0 comments on commit f6d5cce

Please sign in to comment.