From: <jhe...@us...> - 2002-12-05 10:33:31
|
Update of /cvsroot/upcase-project/UpCase In directory sc8-pr-cvs1:/tmp/cvs-serv23659 Added Files: home.php Log Message: home page redirection --- NEW FILE: home.php --- <?php include("UpCase/config/uc_config.inc"); include("uc_sql.php"); // Include this file in your index.php at the root of your site // if you want to be able to choose a home page in the packages // installed by upcase. $query = sprintf($GLOBALS["ucsql_getvars"], "home_page"); $db = new UcSql(); $res = $db->Execute($query) or die("Unable toget home page"); $o = $res->FetchNextObject(true); header("Location: " . $o->VALUE); |