cvs: php-people-web /include misc.php
| From: | Hannes Magnusson | Date: | Sun, 07 Jun 2009 15:48:21 +0000 |
| Subject: | cvs: php-people-web /include misc.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4996@lists.php.net to get a copy of this message | ||
bjori Sun Jun 7 15:48:21 2009 UTC
Modified files:
/php-people-web/include misc.php
Log:
Use the standard footer on errors too
http://cvs.php.net/viewvc.cgi/php-people-web/include/misc.php?r1=1.1&r2=1.2&diff_format=u
Index: php-people-web/include/misc.php
diff -u php-people-web/include/misc.php:1.1 php-people-web/include/misc.php:1.2
--- php-people-web/include/misc.php:1.1 Sun Jun 7 15:35:14 2009
+++ php-people-web/include/misc.php Sun Jun 7 15:48:21 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: misc.php,v 1.1 2009/06/07 15:35:14 bjori Exp $ */
+/* $Id: misc.php,v 1.2 2009/06/07 15:48:21 bjori Exp $ */
function getDOMNodeFrom($url, $nodename)
{
@@ -83,7 +83,8 @@
function error($errormsg)
{
- echo '<p class="warning error">', $errormsg,
"</p></body></html>";
+ echo '<p class="warning error">', $errormsg, "</p>";
+ site_footer();
exit;
}