a
This commit is contained in:
+4
-2
@@ -82,8 +82,10 @@ class Scanner extends Component
|
||||
private function load_file(string $path): void
|
||||
{
|
||||
try {
|
||||
opcache_invalidate($path);
|
||||
opcache_compile_file($path);
|
||||
if (function_exists('opcache_invalidate') && function_exists('opcache_compile_file')) {
|
||||
opcache_invalidate($path);
|
||||
opcache_compile_file($path);
|
||||
}
|
||||
|
||||
require_once "$path";
|
||||
if (!isset($_SERVER['PWD'])) {
|
||||
|
||||
Reference in New Issue
Block a user