developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 9 years ago

Closed 9 years ago

#1404 closed bug (fixed)

Jelix 1.3, minify et compression CSS

Reported by: nesswaw Owned by:
Priority: normal Milestone: Jelix 1.3
Component: jelix:plugins Version: 1.3 beta 1
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Bonjour,

Dans Jelix 1.3, quand on active la compression CSS avec Minify, des erreurs PHP s'affichent:

Undefined property: minifyHTMLResponsePlugin::$excludeCSS

in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

Enfaite il y a une faute de frappe de la variable $excludeCSS à corriger pour résoudre le problème.

Dans le fichier: lib/jelix/plugins/htmlresponse/minify/minify.htmlresponse.php, ligne 18:

protected $excludeCss = array();

Il faut écrire CSS en majuscule:

protected $excludeCSS = array();

Et le tour est joué :)

Change History (2)

comment:1 Changed 9 years ago by laurentj

  • Component changed from jelix to jelix:plugins
  • Milestone set to Jelix 1.3

comment:2 Changed 9 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.