Commit 70b4dc80 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Utilisation de Util::isConsole

parent ac68ea60
......@@ -147,7 +147,7 @@ class Module implements
*/
public function bootstrapSession($e)
{
if (php_sapi_name() === 'cli') {
if (Util::isConsole()) {
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment