goba            Thu Sep  2 07:35:24 2004 EDT

  Modified files:              
    /phpdoc/htmlhelp/suppfiles/html     _script.js 
  Log:
  fix _index.php bug (#26311)
  
http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/html/_script.js?r1=1.5&r2=1.6&ty=u
Index: phpdoc/htmlhelp/suppfiles/html/_script.js
diff -u phpdoc/htmlhelp/suppfiles/html/_script.js:1.5 
phpdoc/htmlhelp/suppfiles/html/_script.js:1.6
--- phpdoc/htmlhelp/suppfiles/html/_script.js:1.5       Fri Dec 27 10:41:52 2002
+++ phpdoc/htmlhelp/suppfiles/html/_script.js   Thu Sep  2 07:35:24 2004
@@ -480,6 +480,9 @@
 // Vars for online menu of this particular page
 this_page     = location.pathname.substring(location.pathname.lastIndexOf("/")+1);
 this_page_php = this_page.substring(0, this_page.lastIndexOf(".")) + '.php';
+if (this_page_php == '_index.php') {
+  this_page_php = 'index.php';
+}
 
 // Create the chmfile vars for this HTML page
 chmfile_fullname = "";

Reply via email to