From: Miguel Dantas Date: Wed, 26 Jun 2019 21:38:55 +0000 (+0100) Subject: [INSTALL] Fixed issue in installing where default.php needs util.php but it's not... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bea06da5317f3ead639f70a291a7c5a506d4c1fb;p=quix0rs-gnu-social.git [INSTALL] Fixed issue in installing where default.php needs util.php but it's not loaded --- 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];