Skip to content
Snippets Groups Projects
Commit 520a841a authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-424] Make sure the output array is reset after each request.

parent 35612cff
Branches issue-424
Tags
No related merge requests found
...@@ -12,6 +12,7 @@ while ($line = fgets($stdin)) { ...@@ -12,6 +12,7 @@ while ($line = fgets($stdin)) {
// Check for this result in the cache // Check for this result in the cache
if (!($route = $cache->get($line))) { if (!($route = $cache->get($line))) {
$output = array();
exec('/usr/bin/php ' . __DIR__ . '/rewrite_miss.php ' . escapeshellarg($line), $output, $return_var); exec('/usr/bin/php ' . __DIR__ . '/rewrite_miss.php ' . escapeshellarg($line), $output, $return_var);
// Set default route // Set default route
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment