Update of /cvsroot/fink/web/bindist
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv21302/bindist

Modified Files:
        index.php 
Log Message:
More fixes...


Index: index.php
===================================================================
RCS file: /cvsroot/fink/web/bindist/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- index.php   20 Jul 2006 14:58:03 -0000      1.8
+++ index.php   7 Sep 2010 19:00:14 -0000       1.9
@@ -2,8 +2,8 @@
 /* index.php */
 
 // get directory level and calculate path to top
-if (!$level)
-  $level = 0;
+if (!isset($level)) $level = 0;
+if (!isset($symlinked)) $symlinked = 0;
 $binbase = "";
 $relbase = "";
 for ($i = 0; $i < $level - $symlinked; $i++) $binbase .= "../";
@@ -12,7 +12,7 @@
 // if we're at level 0, define the $excluded array for this directory
 if (!$level) 
   $excluded = array("icons", "source");
-if (!$excluded)
+if (!isset($excluded))
   $excluded = array();
 
 // get relative directory name


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to