Rev 18 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
<?php
global $loginScriptName;
$loginScriptName = 'login.html'; // this is the name of the login script. If the user is not logged in, this will be called no matter what else is happening
$common_cgi = '';
mysql_connect("localhost", "camp2", 'camp2') or die(mysql_error());
mysql_select_db("camp2") or die(mysql_error());
include_once('functions.php');
define('SMARTY_DIR', realpath( $_SERVER['DOCUMENT_ROOT'] . '/../smarty' ) . '/libs/' );
/*
if ( basename($_SERVER['PHP_SELF']) != $loginScriptName && ! isset($_SESSION['login_id']) ) {
redirectPage($loginScriptName);
}
*/
?>