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 19cf094318c883921a8a3f0f7fe9f3c499e66630 (commit)
from 8870a9579cc56ce6dec3b82c5d522c694b634c96 (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 19cf094318c883921a8a3f0f7fe9f3c499e66630
Author: Ivan1986 <iva...@li...>
Date: Fri Apr 23 17:42:12 2010 +0400
Оптимизация при пустых масиввах реврайта
diff --git a/QFW/QuickFW/Router.php b/QFW/QuickFW/Router.php
index 353326e..4505fc1 100644
--- a/QFW/QuickFW/Router.php
+++ b/QFW/QuickFW/Router.php
@@ -294,9 +294,9 @@ class QuickFW_Router
}
/** @var array Массив прямых преобразований Uri */
- protected $rewrite = array();
+ protected $rewrite = false;
/** @var array Массив обратных преобразований Uri */
- protected $backrewrite = array();
+ protected $backrewrite = false;
/**
* Функция производит преобразования урла для вывода на страницу
@@ -309,7 +309,7 @@ class QuickFW_Router
{
if (!QFW::$config['redirection']['useRewrite'])
return $uri;
- if (!$this->backrewrite)
+ if ($this->backrewrite == false)
{
$backrewrite = array();
require APPPATH . '/rewrite.php';
@@ -329,7 +329,7 @@ class QuickFW_Router
{
if (!QFW::$config['redirection']['useRewrite'])
return $uri;
- if (!$this->rewrite)
+ if ($this->rewrite == false)
{
$rewrite = array();
require APPPATH . '/rewrite.php';
-----------------------------------------------------------------------
Summary of changes:
QFW/QuickFW/Router.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
quickfw
|