Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UNL Information Services
UNL-CMS
Commits
520a841a
Commit
520a841a
authored
Jul 22, 2012
by
Tim Steiner
Browse files
[gh-424] Make sure the output array is reset after each request.
parent
35612cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
rewrite.php
View file @
520a841a
...
...
@@ -12,6 +12,7 @@ while ($line = fgets($stdin)) {
// Check for this result in the cache
if
(
!
(
$route
=
$cache
->
get
(
$line
)))
{
$output
=
array
();
exec
(
'/usr/bin/php '
.
__DIR__
.
'/rewrite_miss.php '
.
escapeshellarg
(
$line
),
$output
,
$return_var
);
// Set default route
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment