'; // CSS foreach (App::getAssets()['css'] as $style) { echo ' '; } // Print CSS foreach (App::getAssets()['print'] as $style) { echo ' '; } if (Auth::check()) { echo ' '; } else { echo ' '; } // JS foreach (App::getAssets()['js'] as $js) { echo ' '; } // Impostazioni di default per gli alert echo ' '; if (Auth::check()) { // Barra di debug if (App::debug()) { $debugbar = new DebugBar\DebugBar(); $debugbar->addCollector(new DebugBar\DataCollector\MemoryCollector()); $debugbar->addCollector(new DebugBar\DataCollector\PhpInfoCollector()); $debugbar->addCollector(new DebugBar\DataCollector\RequestDataCollector()); $debugbar->addCollector(new DebugBar\DataCollector\TimeDataCollector()); $debugbar->addCollector(new DebugBar\Bridge\MonologCollector($logger)); $debugbar->addCollector(new DebugBar\DataCollector\PDO\PDOCollector($dbo->getPDO())); $debugbarRenderer = $debugbar->getJavascriptRenderer(); $debugbarRenderer->setIncludeVendors(false); $debugbarRenderer->setBaseUrl($paths['assets'].'/php-debugbar'); echo $debugbarRenderer->renderHead(); } if (Settings::get('Abilita esportazione Excel e PDF')) { echo ' '; } } $hide_sidebar = get_var('Nascondere la barra sinistra di default'); echo '