Browse Source

la constante _LEGACY_ACTIVE_IMG_DOC_EMB permet de retablir l'appel aux modeles <img> <doc> <emb>

issue_4494
cedric@yterium.com 3 years ago
parent
commit
af1ba6cce5
  1. 3
      medias_fonctions.php

3
medias_fonctions.php

@ -61,6 +61,9 @@ if (isset($_SERVER['REQUEST_METHOD'])
* @return string
*/
function medias_modeles_styliser($modele, $id) {
if (defined('_LEGACY_ACTIVE_IMG_DOC_EMB') and _LEGACY_ACTIVE_IMG_DOC_EMB) {
return $modele;
}
switch($modele) {
case 'img':
case 'doc':

Loading…
Cancel
Save