Update of /cvsroot/fink/web/bindist
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11252
Modified Files:
index.php
Log Message:
adapt for use with more recent PHP
Index: index.php
===================================================================
RCS file: /cvsroot/fink/web/bindist/index.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- index.php 29 May 2005 21:56:41 -0000 1.7
+++ index.php 20 Jul 2006 14:58:03 -0000 1.8
@@ -17,7 +17,7 @@
// get relative directory name
if ($level > 1) {
- $parts = split("/", $SCRIPT_NAME);
+ $parts = split("/", $_SERVER['SCRIPT_NAME']);
$dir = join("/", array_slice($parts, -$level, $level))."/";
} else {
$dir = "";
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits