Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3e3247

Browse filesBrowse files
committed
[FrameworkBundle] better message for disabled sessions
1 parent b6e8b17 commit b3e3247
Copy full SHA for b3e3247

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function load(array $configs, ContainerBuilder $container)
234234

235235
if ($this->isConfigEnabled($container, $config['session'])) {
236236
if (!\extension_loaded('session')) {
237-
throw new \LogicException('PHP extension "session" is required.');
237+
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://www.php.net/session.installation for instructions.');
238238
}
239239

240240
$this->sessionConfigEnabled = true;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.