Jump to content


Javascript are not minified

js css minify

1 reply to this topic

#1 Castellino Software

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 14 June 2017 - 02:02 PM

Testing my site with Google PageSpeed ​​I found that livezilla javascripts are not minified.
I think the problem is in the first line of php script that serves js and css (resources.php) where the $ftype variable is defined as follows:
$ftype = (false) ? "min." : "";
The variable $ftype is used to choice betwen resource files version (minified or not).
The ternary operator so defined (false) causes the variable assume always the empty string value.

There is a reason or I can change the value false to true without any problems?
In my test environment I changed this value and it seem all work

#2 Patrick Keil

    Administrator

  • Administrators
  • 3069 posts
  • LocationSingen, Germany

Posted 14 June 2017 - 02:05 PM

Hi,

We know about this issue, $ftype should be true, not false.

It will be corrected in the next update 7.0.5.0, feel free to modify your file.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users