comparison mgtool.php @ 57:29bb365e3ee2

Be more responsive when processing images, check for signals after each thumbnail/medium image generation.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 Sep 2016 13:50:59 +0300
parents 7384504d7b52
children ef9f17280372
comparison
equal deleted inserted replaced
56:7384504d7b52 57:29bb365e3ee2
495 if (array_key_exists($ename, $galEntries)) 495 if (array_key_exists($ename, $galEntries))
496 $galEntry = &$galEntries[$ename]; 496 $galEntry = &$galEntries[$ename];
497 else 497 else
498 $galEntry = array(); 498 $galEntry = array();
499 499
500 mgCheckQuit(FALSE); 500 mgCheckQuit(TRUE);
501 501
502 // Update with captions file data, if any 502 // Update with captions file data, if any
503 if (array_key_exists($ename, $captions)) 503 if (array_key_exists($ename, $captions))
504 { 504 {
505 foreach ($captions[$ename] as $ckey => $cval) 505 foreach ($captions[$ename] as $ckey => $cval)