We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lti/templates/slim-lti-skeleton/app/settings.php
Line 20 in 6961b81
use App\Application\Settings\Settings; use App\Application\Settings\SettingsInterface; use DI\ContainerBuilder; use Dotenv\Dotenv; use GrotonSchool\SlimLTI\Actions\LTIAction; use GrotonSchool\SlimLTI\GAE\Infrastructure\Cache; use Psr\Log\LoggerInterface; Dotenv::createImmutable(__DIR__ . '/..')->safeLoad(); return function (ContainerBuilder $containerBuilder) { // Global Settings Object $containerBuilder->addDefinitions([ SettingsInterface::class => function () { return new Settings([ 'displayErrorDetails' => true, // TODO **DEPLOY** Should be set to false in production 'logError' => true, 'logErrorDetails' => true, LoggerInterface::class => [ 'name' => 'lti-gae', ], Cache::class => [ Cache::DURATION => 3600, // seconds ], 'projectId' => $_ENV['PROJECT'], LTIAction::PROJECT_URL => $_ENV['PROJECT_URL'], ]); }, ]); };
The text was updated successfully, but these errors were encountered:
battis
No branches or pull requests
lti/templates/slim-lti-skeleton/app/settings.php
Line 20 in 6961b81
The text was updated successfully, but these errors were encountered: