1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Hotfix: Don't fatal error if core_image.php is corrupt

This commit is contained in:
Nick Liu
2020-03-29 13:49:18 -05:00
parent 4e78b5e1ad
commit a04db4e2c8
4 changed files with 26 additions and 5 deletions

View File

@@ -61,7 +61,6 @@ abstract class e_file_inspector implements e_file_inspector_interface
public function __construct($database)
{
$this->database = $database;
$this->loadDatabase();
$appRoot = e107::getInstance()->file_path;
$this->undeterminable = array_map(function ($path)