\n". "FreeMED cannot find the phpwebtools file webtools.php"."
\n" ); define('SKIP_SQL_INIT', true); include_once ("lib/freemed.php"); // Deal with removing auth information from the session unset($_SESSION['authdata']); $test = CreateObject('FreeMED.FreeMEDSelfTest'); if (ALWAYS_SELFTEST) { $test->SelfTest(); } // Unfortunately, we have to *manually* create the SQL object after selftest if (!is_object($sql)) { $sql = CreateObject( 'PHP.sql', DB_ENGINE, array( 'host' => DB_HOST, 'user' => DB_USER, 'password' => DB_PASSWORD, 'database' => DB_NAME ) ); } //----- Set page title $page_title = PACKAGENAME . " - " . __("Login"); //----- Set no menu bar for login screen $GLOBALS['__freemed']['no_menu_bar'] = true; //----- *DON'T* Reset default facility session cookie //----- Load template with main menu if (file_exists("./lib/template/".$template."/login.php")) { include_once ("./lib/template/".$template."/login.php"); } else { include_once ("./lib/template/default/login.php"); } //----- Finish display template template_display(); ?>