This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "quickfw".
The branch, master has been updated
via cf4a4f1b4d446b549bb9164a9afc4cade868c061 (commit)
from 85dc4b121b68972ea2661ffa181268cdf1f44510 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cf4a4f1b4d446b549bb9164a9afc4cade868c061
Author: Ivan1986 <iva...@li...>
Date: Mon Jul 12 16:12:27 2010 +0400
Возможный нотайс в 404
diff --git a/QFW/QuickFW/Router.php b/QFW/QuickFW/Router.php
index 2d4b511..bf0e1e6 100644
--- a/QFW/QuickFW/Router.php
+++ b/QFW/QuickFW/Router.php
@@ -221,7 +221,7 @@ class QuickFW_Router
/*if (substr(PHP_SAPI, 0, 3) == 'cgi')
header ('Status: 404 Not Found');
else*/
- header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found');
+ header((empty($_SERVER['SERVER_PROTOCOL']) ? 'HTTP/1.1 ' : $_SERVER['SERVER_PROTOCOL']).' 404 Not Found');
if (!is_file(QFW::$view->getScriptPath().'/404.html'))
QFW::$view->setScriptPath(APPPATH.'/default/templates/');
die(QFW::$view->render('404.html'));
-----------------------------------------------------------------------
Summary of changes:
QFW/QuickFW/Router.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
quickfw
|