Skip to content

Commit

Permalink
omit caching functions
Browse files Browse the repository at this point in the history
I only need opcache_invalidate function to solve issue #21943
  • Loading branch information
twister65 committed Sep 2, 2018
1 parent cd5ae11 commit eb5c9b5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions libraries/src/Factory.php
Expand Up @@ -573,18 +573,7 @@ protected static function createConfig($file, $type = 'PHP', $namespace = '')
{
opcache_invalidate($file);
}
if (function_exists('apc_compile_file'))
{
apc_compile_file($file);
}
if (function_exists('wincache_refresh_if_changed'))
{
wincache_refresh_if_changed(array($file));
}
if (function_exists('xcache_asm'))
{
xcache_asm($file);
}

include_once $file;
}

Expand Down

0 comments on commit eb5c9b5

Please sign in to comment.