equal
deleted
inserted
replaced
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'); |