[Phpmyadmin-devel] (no subject)

Hi list, I just thought about a small optimization that could make our lives a little easier: As far as I can see, footoer.inc.php is always the last page to be called. This is why we find much code like this: include('./footer.inc.php'); exit; imho, we should be able to put the exit call into footer.inc.php, so that we do not always have to call it manually after having displayed the footer. Comments? Regards, -- Alexander M. Turek <rabus@users.sourceforge.net> _ __ __ _ _ _ _ __ | |__ _ __ | \/ |_ _ / \ __| |_ __ ___ (_)_ __ | '_ \| '_ \| '_ \| |\/| | | | | / _ \ / _` | '_ ` _ \| | '_ \ | |_) | | | | |_) | | | | |_| |/ ___ \ (_| | | | | | | | | | | | .__/|_| |_| .__/|_| |_|\__, /_/ \_\__,_|_| |_| |_|_|_| |_| |_| |_| |___/ <http://www.phpmyadmin.net>

Hi Alexander and all Original message (Alexander M. Turek, Tuesday 25.11.2003 00:58 +0100):
I just thought about a small optimization that could make our lives a little easier:
As far as I can see, footoer.inc.php is always the last page to be called. This is why we find much code like this:
include('./footer.inc.php'); exit;
imho, we should be able to put the exit call into footer.inc.php, so that we do not always have to call it manually after having displayed the footer.
Comments?
It should be a bit faster and I don't see any problems, it can cause, if you have time, feel free to implement it :-) -- Regards Michal Cihar http://cihar.com
participants (2)
-
Alexander M. Turek
-
Michal Cihar