Update of /cvsroot/fink/scripts/bindist
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv14589
Modified Files:
bdindex
Log Message:
adapt for use with more recent PHP
Index: bdindex
===================================================================
RCS file: /cvsroot/fink/scripts/bindist/bdindex,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- bdindex 9 Jun 2005 13:47:01 -0000 1.3
+++ bdindex 20 Jul 2006 15:05:51 -0000 1.4
@@ -21,7 +21,7 @@
$new = $new . "\$excluded = array(\"current\",
\"release\",\"README\");\n";
}
$new = $new . "\$symlinked = 0;\n";
- $new = $new . "\$parts = split(\"/\", \$SCRIPT_NAME);\n";
+ $new = $new . "\$parts = split(\"/\", \$_SERVER[\'SCRIPT_NAME\']);\n";
$new = $new . "if (\$parts[4] == \"release\" || \$parts[4] == \"current\")
{\n";
$new = $new . " \$level++;\n \$symlinked = 1;\n}\n";
$new = $new . "include \"".("../"x$level)."index.php\";\n?>";
-------------------------------------------------------------------------
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