plugins/gallery/fetcher.php
changeset 25 d9f37d2ea2cf
parent 9 ebd7003e73c6
child 26 023a21c8f47c
equal deleted inserted replaced
24:7f3bd3030ae9 25:d9f37d2ea2cf
    27   ');
    27   ');
    28 
    28 
    29 function page_Special_GalleryFetcher()
    29 function page_Special_GalleryFetcher()
    30 {
    30 {
    31   global $db, $session, $paths, $template, $plugins; // Common objects
    31   global $db, $session, $paths, $template, $plugins; // Common objects
       
    32   
       
    33   // artificial race condition for debug
       
    34   // sleep(5);
    32   
    35   
    33   $type = $paths->getParam(0);
    36   $type = $paths->getParam(0);
    34   if ( !in_array($type, array('thumb', 'preview', 'full')) )
    37   if ( !in_array($type, array('thumb', 'preview', 'full')) )
    35   {
    38   {
    36     die('Hack attempt');
    39     die('Hack attempt');