PHP Classes

You can optimize more, for more speed code reading?

Recommend this page to a friend!

      PHP Ghost Crypt  >  All threads  >  You can optimize more, for more...  >  (Un) Subscribe thread alerts  
Subject:You can optimize more, for more...
Summary:very slow to publish it to a production server
Messages:11
Author:jose carlos
Date:2015-11-16 13:50:38
 
  1 - 10   11 - 11  

  11. Re: You can optimize more, for more...   Reply   Report abuse  
Picture of Nick Daniels Nick Daniels - 2015-11-19 18:43:27 - In reply to message 9 from jose carlos
Yes, that was my problem. Which I forgot to rename $fileExt to $outFileExt in 2 cases, I've fixed it now :)

$outFile = $outFile . (empty($fileExt) ? 'enc.' . $inFileInfo['extension'] : $fileExt);

should be...

$outFile = $outFile . (empty($outFileExt) ? 'enc.' . $inFileInfo['extension'] : $outFileExt);

 
  1 - 10   11 - 11