Update of /cvsroot/fink/web
In directory sc8-pr-cvs1:/tmp/cvs-serv7767
Modified Files:
header.inc
Log Message:
Fix PDB pages via fsroot
Index: header.inc
===================================================================
RCS file: /cvsroot/fink/web/header.inc,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- header.inc 3 Dec 2002 04:05:31 -0000 1.49
+++ header.inc 3 Dec 2002 04:39:37 -0000 1.50
@@ -48,9 +48,14 @@
// Log the access
session_start();
-include("db.inc.php");
-include("pws/stats.php");
-include("pws/bro.php");
+if(!isset($fsroot))
+{
+ $fsroot = "./";
+}
+include($fsroot."db.inc.php");
+include($fsroot."pws/stats.php");
+include($fsroot."pws/bro.php");
+
$conn = db_connect();
// set the page id
// we could set this variable to "Gallery" for photogallery, etc.
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits