// Load security stuff here
require('inc/libs/security_functions.php');
-// Init "action" and "what"
-$GLOBALS['what'] = '';
-$GLOBALS['action'] = '';
-
// Set module
$GLOBALS['module'] = 'img';
$GLOBALS['output_mode'] = -1;
loadIncludeOnce('inc/header.php');
// Code set?
-if (REQUEST_ISSET_GET(('code'))) {
+if (REQUEST_ISSET_GET('code')) {
// Generate image
GENERATE_IMAGE(bigintval(REQUEST_GET('code')));
} elseif (REQUEST_ISSET_GET('tag')) {
// Tag set so create the IFN (Include-FileName)
$INC = sprintf("inc/img/tag-%s.php",
- REQUEST_GET('tag')
+ REQUEST_GET('tag')
);
// Include is readable?