Reputation: 4603
Even if i remove from all config*.yml files web_profiler
... I'm getting
RuntimeException: You need to enable either the SQLite3 or PDO_SQLite extension for the profiler to run properly.
I just dont want to install sqlite on my system and i can't find how to turn off profiler entirely...
Any tips?
UPD: Commented in FrameworkExtension.php
if (isset($config['profiler'])) {
$this->registerProfilerConfiguration($config['profiler'], $container, $loader);
}
But that's not good solution
Upvotes: 3
Views: 6071
Reputation: 728
Or you can change in your config_dev.yml:
web_profiler:
toolbar: false
Upvotes: 7
Reputation: 13189
Have a look at your app/AppKernel.php.
Removing the line
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
should do the trick! Now the bundle never gets loaded and therefore now SQLite2 database is needed.
Upvotes: 4