phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc footer.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc footer.inc.php
Date: Sun, 19 Feb 2006 11:21:08 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Branch:         
Changes by:     Dave Hall <address@hidden>      06/02/19 11:21:08

Modified files:
        inc            : footer.inc.php 

Log message:
        tidy up and remove useless tags from end of file- template 
responsibility

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/inc/footer.inc.php.diff?tr1=1.23&tr2=1.24&r1=text&r2=text

Patches:
Index: phpgwapi/inc/footer.inc.php
diff -u phpgwapi/inc/footer.inc.php:1.23 phpgwapi/inc/footer.inc.php:1.24
--- phpgwapi/inc/footer.inc.php:1.23    Thu Dec 30 06:47:31 2004
+++ phpgwapi/inc/footer.inc.php Sun Feb 19 11:21:08 2006
@@ -7,16 +7,9 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage utilities
-       * @version $Id: footer.inc.php,v 1.23 2004/12/30 06:47:31 skwashd Exp $
+       * @version $Id: footer.inc.php,v 1.24 2006/02/19 11:21:08 skwashd Exp $
        */
 
-       $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
-       if($d1 == 'htt' || $d1 == 'ftp')
-       {
-               echo "Failed attempt to break in via an old Security 
Hole!<br>\n";
-               exit;
-       } unset($d1);
-
        
/**************************************************************************\
        * Include the apps footer files if it exists                            
   *
        
\**************************************************************************/
@@ -33,7 +26,6 @@
                        list($app,$class,$method) = 
explode('.',$GLOBALS['phpgw_info']['menuaction']);
                        if (is_array($GLOBALS[$class]->public_functions) && 
$GLOBALS[$class]->public_functions['footer'])
                        {
-//                             eval("\$GLOBALS[$class]->footer();");
                                $GLOBALS[$class]->footer();
                        }
                        elseif(file_exists(PHPGW_APP_INC.'/footer.inc.php'))
@@ -56,5 +48,3 @@
                echo 'Page loaded in ' . ($GLOBALS['debug_timer_stop'] - 
$GLOBALS['debug_timer_start']) . ' seconds.';
        }
 ?>
-</BODY>
-</HTML>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]