]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
[INSTALL] Fixed issue in installing where default.php needs util.php but it's not...
authorMiguel Dantas <biodantasgs@gmail.com>
Wed, 26 Jun 2019 21:38:55 +0000 (22:38 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Sat, 3 Aug 2019 16:31:41 +0000 (17:31 +0100)
lib/installer.php

index 9551b693675b179b4d5bf596a7d57dc05ce6e1f0..444b4a6bb7a39c7b9d971e3442e5c85c4361527c 100644 (file)
@@ -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];