diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d30364c0..93dc5ea6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ **Merged pull requests:** - Release 2.4.5 🦕 ([belomaxorka](https://github.com/belomaxorka)) -- [CLI] TorrentPier installer ☕️ [\#1576](https://github.com/torrentpier/torrentpier/pull/1576), [\#1582](https://github.com/torrentpier/torrentpier/pull/1582), [\#1585](https://github.com/torrentpier/torrentpier/pull/1585) ([belomaxorka](https://github.com/belomaxorka)) +- [CLI] TorrentPier installer ☕️ [\#1576](https://github.com/torrentpier/torrentpier/pull/1576), [\#1582](https://github.com/torrentpier/torrentpier/pull/1582), [\#1585](https://github.com/torrentpier/torrentpier/pull/1585), [\#1591](https://github.com/torrentpier/torrentpier/pull/1591) ([belomaxorka](https://github.com/belomaxorka)) - Added some new HTML meta-tags [\#1562](https://github.com/torrentpier/torrentpier/pull/1562) ([belomaxorka](https://github.com/belomaxorka)) - Added robots meta-tag support 🤖 [\#1587](https://github.com/torrentpier/torrentpier/pull/1587) ([belomaxorka](https://github.com/belomaxorka)) - Added showing releaser stats in profile [\#1568](https://github.com/torrentpier/torrentpier/pull/1568) ([belomaxorka](https://github.com/belomaxorka)) diff --git a/README.md b/README.md index 1a1e4e88f..9dfa3c1f6 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,9 @@ For installation, you need to follow a few simple steps. ### Quick ☕️ 1. [Download latest](https://github.com/torrentpier/torrentpier/archive/refs/heads/master.zip) version of TorrentPier -2. Open directory with TorrentPier and run in CLI mode `php install.php` -3. Voila! ✨ +2. Open a folder with extracted TorrentPier (`cd /path/to/public_html`) +3. After run `php install.php` +4. Voila! ✨ ### Manual 🔩 diff --git a/install.php b/install.php index e6223bb69..cfd4c3947 100644 --- a/install.php +++ b/install.php @@ -230,7 +230,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) { out('- Downloading Composer...', 'info'); if (copy('https://getcomposer.org/installer', BB_ROOT . 'composer-setup.php')) { out("- Composer successfully downloaded!\n", 'success'); - runProcess('php ' . BB_ROOT . 'composer-setup.php'); + runProcess('php ' . BB_ROOT . 'composer-setup.php --install-dir=' . BB_ROOT); } else { out('- Cannot download Composer', 'error'); exit;