Skip to content

Commit

Permalink
Added undefined function cache_invalidate() in install/isession.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-hunt committed Jul 28, 2015
1 parent 0e87db6 commit b5050ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install/isession.inc
Expand Up @@ -58,6 +58,15 @@ function html_cleanup(&$parms)
function check_page_security($page_security)
{
}

/*
Ensure file is re-read on next request if php caching is active
*/
function cache_invalidate($filename)
{
if (function_exists('opcache_invalidate')) // OpCode extension
opcache_invalidate($filename);
}
//============================================================================
if (!isset($path_to_root))
{
Expand Down

0 comments on commit b5050ef

Please sign in to comment.