mirror of https://github.com/fspc/biketree.git
Bike Tree - https://biketree.bikelover.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
<?php session_start();
|
|
include ("settings.php");
|
|
if(empty($cfg_language) or empty($cfg_database))
|
|
{
|
|
echo "It appears that you have not installed PHP Point Of Sale, please
|
|
go to the <a href='install/index.php'>install page</a>.";
|
|
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();
|
|
|
|
?>
|
|
|
|
|
|
<HTML>
|
|
<head>
|
|
<title>The Bike Tree :: Bike Co-op Management</title>
|
|
</head>
|
|
<frameset border="0" frameborder="no" framespacing="0" rows="100,*">
|
|
<frame name="TopFrame" noresize scrolling="no" src="menubar.php">
|
|
<frame name="MainFrame" noresize src="home.php">
|
|
</frameset>
|
|
<noframes>
|
|
<body bgcolor="#FFFFFF" text="#000000">
|
|
|
|
</body>
|
|
</noframes>
|
|
</HTML>
|
|
|