@@ -82,6 +82,9 @@ class Scanner extends Component
|
||||
private function load_file(string $path): void
|
||||
{
|
||||
try {
|
||||
opcache_invalidate($path);
|
||||
opcache_compile_file($path);
|
||||
|
||||
require_once "$path";
|
||||
if (!isset($_SERVER['PWD'])) {
|
||||
$_SERVER['PWD'] = APP_PATH;
|
||||
|
||||
Reference in New Issue
Block a user