Do not crash if an extension cannot be loaded.
Former-commit-id: f303be21ceabe052545e53e1a4b6bcd08a4526c2
This commit is contained in:
parent
90a2e28247
commit
c1536b7978
|
@ -380,7 +380,15 @@ function extensions_load_extensions($process_login)
|
|||
// ~ }
|
||||
// ~ }
|
||||
// ~ else {
|
||||
try {
|
||||
include_once $path_extension;
|
||||
}
|
||||
// PHP 7
|
||||
catch (Throwable $e) {
|
||||
}
|
||||
// PHP 5
|
||||
catch (Exception $e) {
|
||||
}
|
||||
// ~ }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue