"; 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"; // !admin_login() - admin, but not logged in if (!admin_login() || GetVar('logout') || GetVar('expired') ) { if( !headers_sent() ) set_cookie(SESSION_COOKIE_NAME, '', adodb_mktime() - 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; $charset = GetRegionalOption('Charset'); ?> In-portal Administration " name="main" marginwidth="0" marginheight="0" frameborder="NO" noresize scrolling="auto"> <body bgcolor="#ffffff"> <p></p> </body>