File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
phpmyfaq/src/phpMyFAQ/Setup Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33/**
44 * The Upgrade class used for upgrading/installing phpMyFAQ from a ZIP file.
5+ *
56 * This Source Code Form is subject to the terms of the Mozilla Public License,
67 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
78 * obtain one at https://mozilla.org/MPL/2.0/.
@@ -113,7 +114,7 @@ public function checkFilesystem(): bool
113114 }
114115
115116 /**
116- * Method to download a phpMyFAQ package, returns false if it doesn't work
117+ * Method to download a phpMyFAQ package, throws an exception if it doesn't work
117118 *
118119 * @throws Exception
119120 * @todo handle possible proxy servers
@@ -122,7 +123,7 @@ public function downloadPackage(string $version): string
122123 {
123124 $ url = $ this ->getDownloadHost () . $ this ->getPath () . $ this ->getFilename ($ version );
124125
125- $ client = HttpClient::create (['timeout ' => 30 ]);
126+ $ client = HttpClient::create (['timeout ' => 60 ]);
126127
127128 try {
128129 $ response = $ client ->request ('GET ' , $ url );
You can’t perform that action at this time.
0 commit comments