From bea06da5317f3ead639f70a291a7c5a506d4c1fb Mon Sep 17 00:00:00 2001 From: Miguel Dantas Date: Wed, 26 Jun 2019 22:38:55 +0100 Subject: [PATCH] [INSTALL] Fixed issue in installing where default.php needs util.php but it's not loaded --- lib/installer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/installer.php b/lib/installer.php index 9551b69367..444b4a6bb7 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -141,6 +141,7 @@ abstract class Installer define('STATUSNET', true); require_once INSTALLDIR . '/lib/language.php'; $_server=$this->server; $_path=$this->path; // We won't be using those so it's safe to do this small hack + require_once INSTALLDIR.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'util.php'; require_once INSTALLDIR.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'default.php'; $fileSubdirs = [empty($this->avatarDir) ? $default['avatar']['dir'] : $this->avatarDir, empty($this->fileDir) ? $default['attachments']['dir'] : $this->fileDir]; -- 2.39.5