diff --git a/file/index.cgi b/file/index.cgi index ddcf54b1b..5c4ebed41 100755 --- a/file/index.cgi +++ b/file/index.cgi @@ -53,8 +53,8 @@ $mounting = !$access{'uid'} && &foreign_check("mount") ? 1 : 0; if ($in{'open'}) { $open = ""; } -if ($session_id) { - $session = ""; +if ($main::session_id) { + $session = ""; } if (!$access{'noconfig'}) { $config = "";