mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1713)
* Minor improvements
* Update init_bb.php
* Updated
* Revert "Updated"
This reverts commit af83788c22
.
* Update CHANGELOG.md
This commit is contained in:
parent
fd951a27fa
commit
b27fa94ee8
18 changed files with 31 additions and 31 deletions
|
@ -54,7 +54,7 @@ require_once BB_PATH . '/library/defines.php';
|
|||
|
||||
// Composer
|
||||
if (!is_file(BB_PATH . '/vendor/autoload.php')) {
|
||||
die('🔩 Manual install: <a href="https://getcomposer.org/download/" target="_blank" rel="noreferrer" style="color:#0a25bb;">Install composer</a> and run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">composer install</code>.<br>☕️ Quick install: Run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">php install.php</code> in CLI mode.');
|
||||
die('🔩 Manual install: <a href="https://getcomposer.org/download/" target="_blank" rel="noreferrer" style="color:#0a25bb;">Install composer</a> and run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">composer install</code>.<br/>☕️ Quick install: Run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">php install.php</code> in CLI mode.');
|
||||
}
|
||||
require_once BB_PATH . '/vendor/autoload.php';
|
||||
|
||||
|
@ -75,7 +75,7 @@ try {
|
|||
$dotenv = Dotenv\Dotenv::createMutable(BB_PATH);
|
||||
$dotenv->load();
|
||||
} catch (\Dotenv\Exception\InvalidPathException $pathException) {
|
||||
die('🔩 Manual install: Rename from <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">.env.example</code> to <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">.env</code>, and configure it.<br>☕️ Quick install: Run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">php install.php</code> in CLI mode.');
|
||||
die('🔩 Manual install: Rename from <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">.env.example</code> to <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">.env</code>, and configure it.<br/>☕️ Quick install: Run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">php install.php</code> in CLI mode.');
|
||||
}
|
||||
|
||||
// Load config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue