[Phpxd-commits] CVS: phpXD.www default.php,1.1,1.2
Status: Beta
Brought to you by:
growbal
From: Thomas D. <th...@us...> - 2002-01-28 19:37:29
|
Update of /cvsroot/phpxd/phpXD.www In directory usw-pr-cvs1:/tmp/cvs-serv17710 Modified Files: default.php Log Message: Index: default.php =================================================================== RCS file: /cvsroot/phpxd/phpXD.www/default.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** default.php 2002/01/26 17:10:44 1.1 --- default.php 2002/01/28 19:37:26 1.2 *************** *** 14,18 **** header("Content-Type: text/html; charset=ISO-8859-1"); ! require("include/phpxd_0.21/phpXD.php"); require("classes/Sites.php"); --- 14,18 ---- header("Content-Type: text/html; charset=ISO-8859-1"); ! require("include/phpXD/phpXD.php"); require("classes/Sites.php"); *************** *** 89,92 **** --- 89,95 ---- $site = "en/index"; } + if ($sites->getClass($site) == "") { + $site = "en/".$site; + } $class = $sites->getClass($site); } *************** *** 100,105 **** } - // No site found? Then go to the index site. - //header("Location: ".$URL); exit; ?> --- 103,106 ---- |