"; echo "Please use the installation script to fix the problem.

"; echo "Go to installation script

"; flush(); die(); } $sub = substr($pathtoroot,strlen($pathchar)*-1); if($sub!=$pathchar) { $pathtoroot = $pathtoroot.$pathchar; } //echo "
"; print_r($_POST); echo "
"; require_once($pathtoroot."/kernel/startup.php"); $rootURL="http://".ThisDomain().$objConfig->Get("Site_Path"); $admin = substr($path,strlen($pathtoroot)); $objConfig->Set("AdminDirectory",$admin,0,TRUE); $objConfig->Save(); //echo "Setting admin to $admin
\n"; $localURL=$rootURL."kernel/"; $adminURL = $rootURL.$admin; $imagesURL = $adminURL."/images"; $browseURL = $adminURL."/browse"; $cssURL = $adminURL."/include"; if (!admin_login()) { if(!headers_sent()) setcookie("sid"," ",time()-3600); $objSession->Logout(); require_once($pathtoroot.$admin."/login.php"); } $envar = "env=" . BuildEnv(); require_once ($pathtoroot.$admin."/include/elements.php"); require_once ($pathtoroot."kernel/admin/include/navmenu.php"); $pathtolocal = $pathtoroot; ?> In-portal Administration " name="main" marginwidth="0" marginheight="0" frameborder="NO" noresize scrolling="auto"> <body bgcolor="#ffffff"> <p></p> </body>