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

Merge branch 'master' into develop

parents 7d0f911d 2e1bfb44
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,9 @@ while ($line = fgets($stdin)) {
$line = trim($line, "\n");
// Check for this result in the cache
if (!($output = $cache->get($line))) {
if (!($route = $cache->get($line))) {
$output = array();
exec('/usr/bin/php ' . __DIR__ . '/rewrite_miss.php ' . escapeshellarg($line), $output, $return_var);
// Set default route
......@@ -61,4 +62,4 @@ class RewriteCache {
}
$this->_storage[$key] = array('time' => time(), 'data' => $value);
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment