tag and doesn't share. So, if we want to get our * style sheet in place we've got to intercept Nuke's header and modify it * to insert a few lines of our own in place. We could speed this process * up greatly if we cached the results and saved it somewhere handy (like * the session) but then we'd be vulnerable to attack by somebody who has * write permissions in the directory that the session files live. They * could create a bogus session file, set that ID into their cookie and * then pass their own code into our eval() below. */ $header = ""; if ($fd = fopen("header.php", "r")) { while (!feof($fd)) { $line = fgets($fd, 1024); $line = str_replace('', '', $line); $header .= $line; if (strstr($line, "app->galleryTitle; // Verify that the $phpbb_root_path isn't overwritten with a remote exploit if (!realpath($phpbb_root_path)) { print _("Security violation") ."\n"; exit; } else { if (! defined("PHPBB_ROOT_PATH")) { define("PHPBB_ROOT_PATH", $phpbb_root_path); } include (PHPBB_ROOT_PATH . "includes/page_header.php"); } break; case 'GeekLog': /* ** Display header and left blocks */ echo COM_siteHeader(); break; } } ?> Gallery Name

My Gallery