nlopess         Wed Apr 28 12:08:54 2004 EDT

  Modified files:              
    /livedocs   handlers.php 
  Log:
  using globals instead. noted by derick
  
http://cvs.php.net/diff.php/livedocs/handlers.php?r1=1.4&r2=1.5&ty=u
Index: livedocs/handlers.php
diff -u livedocs/handlers.php:1.4 livedocs/handlers.php:1.5
--- livedocs/handlers.php:1.4   Tue Apr 27 11:12:28 2004
+++ livedocs/handlers.php       Wed Apr 28 12:08:53 2004
@@ -18,7 +18,7 @@
 // | Special Handlers for $aliases                                        |
 // +----------------------------------------------------------------------+
 //
-// $Id: handlers.php,v 1.4 2004/04/27 15:12:28 nlopess Exp $
+// $Id: handlers.php,v 1.5 2004/04/28 16:08:53 nlopess Exp $
 
 
 /***********************************
@@ -45,8 +45,7 @@
 
 function handle_contents() 
 {
-       GLOBAL $title;
-       return '<center><h1>' . $title . '</h1></center><h2>Contents</h2>' . 
do_contents(1, 0);
+       return '<center><h1>' . $GLOBALS['title'] . '</h1></center><h2>Contents</h2>' 
. do_contents(1, 0);
 }
 
 /*******************

Reply via email to