Skip to content
Snippets Groups Projects
Commit 64fc632a authored by pbarroca's avatar pbarroca
Browse files

Suppression requete inutile sur données déjà présente

parent e60e996f
Branches
Tags
No related merge requests found
......@@ -92,10 +92,10 @@ if ($this->accessibilite_on) { //Feuilles de styles pour les déficiences visue
->addJQueryReady('initAccessibilityOptions();');
}
if (Class_AdminVar::get('ID_READ_SPEAKER'))
if ($read_speaker = Class_AdminVar::get('ID_READ_SPEAKER'))
$head_scripts
->addJQueryReady(sprintf('$.getScript("http://wr.readspeaker.com/webreader/webreader.js.php?cid=%s")',
getVar('ID_READ_SPEAKER')));
$read_speaker));
$script_loader = Class_ScriptLoader::getInstance();
$head_scripts->renderStyleSheets();
......
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