$GLOBALS['output_mode'] = -1;
// Load the required file(s)
-require('inc/config.php');
+require('inc/config-global.php');
// Script installed?
if (isInstalled()) {
if (REQUEST_ISSET_GET(('code'))) {
// Generate image
GENERATE_IMAGE(bigintval(REQUEST_GET('code')));
- } elseif (REQUEST_ISSET_GET(('tag'))) {
+ } 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?