install page."; exit; } include ("language/$cfg_language"); include ("classes/db_functions.php"); include ("classes/security_functions.php"); //create 3 objects that are needed in this script. $lang=new language(); $dbf=new db_functions($cfg_server,$cfg_username,$cfg_password,$cfg_database,$cfg_tableprefix,$cfg_theme,$lang); $sec=new security_functions($dbf,'Public',$lang); if(!$sec->isLoggedIn()) { header ("location: login.php"); exit(); } $dbf->optimizeTables(); $dbf->closeDBlink(); ?>