Index: trunk/core/kernel/utility/http_query.php =================================================================== diff -u -N -r8402 -r8901 --- trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8402) +++ trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8901) @@ -365,7 +365,7 @@ parse_str(substr($env_var, $more_vars + 1), $vars); $env_var = substr($env_var, 0, $more_vars); } - + // replace escaped ":" symbol not to explode by it $env_var = str_replace('\:','_&+$$+&_', $env_var); // replace escaped "=" with spec-chars :) $parts = explode(':', $env_var); @@ -436,6 +436,11 @@ $t = $this->Get['t']; } + // if t was set through env, even in mod_rewrite mode! + if ($this->Get('env') && $this->Application->RewriteURLs() && $this->Get('t')) { + $t = $this->Get('t'); + } + if (is_numeric($t)) { $sql = 'SELECT CONCAT(FilePath, \'/\', FileName) FROM '.TABLE_PREFIX.'ThemeFiles