Changeset 8226 for extensions/PHP_Optimisateur/index.php
- Timestamp:
- Dec 22, 2010, 1:01:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PHP_Optimisateur/index.php
r8195 r8226 5 5 \***************************************/ 6 6 7 set_time_limit( 3600);7 set_time_limit(7200); 8 8 $TIME_START = microtime(true); 9 9 … … 89 89 ### Copyright & Options générales des conversion ### 90 90 $copyright = utf8_decode($copyright); 91 $copyCOLOR = hex2RGB(substr($copyCOLOR,1), true, ' '); 91 92 92 93 if ($copyONhd) { … … 125 126 // Découpe le nom de fichier : dossier/fichier 126 127 preg_match('#(.*)/(.*)$#', $FilesSortie[$i], $matches); 127 $FileFolder = $matches[1]; 128 $FileName = $matches[2]; 128 $FileFolder = $matches[1]; // dossier de sortie 129 $FileName = $matches[2]; // nom+ext fichier 129 130 130 131 // Crée les sous-dossiers de sortie & 'pwg_high' & 'thumbnail' … … 158 159 } 159 160 if (!isset($BlockThumbnail)) { 160 exec('files\nconvert.exe -q '.$Qthumbnail.' -out jpeg -o "'.$FileFolder.'/thumbnail/'.$prefixe_mini.$FileName.'" -dpi 72 '.$convOptions.' -resize '.$DIMthumbnail.' '.$DIMthumbnail.' -rmeta -rexifthumb"'.$FilesSource[$i].'"');161 exec('files\nconvert.exe -q '.$Qthumbnail.' -out jpeg -o "'.$FileFolder.'/thumbnail/'.$prefixe_mini.$FileName.'" -dpi 72 '.$convOptions.' -resize '.$DIMthumbnail.' '.$DIMthumbnail.' -rmeta -rexifthumb "'.$FilesSource[$i].'"'); 161 162 } 162 163 if (!isset($BlockHigh) AND $DIRhighORNOT) {
Note: See TracChangeset
for help on using the changeset viewer.