clearer missing-vendor screen
This commit is contained in:
parent
bf4280461f
commit
ea0e83abc9
1 changed files with 5 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
||||||
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
if (!file_exists("vendor/")) {
|
if (!file_exists("vendor/")) {
|
||||||
|
$cwd = getcwd();
|
||||||
print <<<EOD
|
print <<<EOD
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
@ -15,11 +16,11 @@ if (!file_exists("vendor/")) {
|
||||||
<body>
|
<body>
|
||||||
<div id="installer">
|
<div id="installer">
|
||||||
<h1>Install Error</h1>
|
<h1>Install Error</h1>
|
||||||
<h3>Warning: Composer vendor folder does not exist!</h3>
|
<h3>Shimmie is unable to find the composer <code>vendor</code> directory.</h3>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>Shimmie is unable to find the composer <code>vendor</code> directory.
|
<p>To finish installing, you need to run <code>composer install</code>
|
||||||
<br>To finish installing, you need to run <code>composer install</code>
|
in the shimmie directory (<code>$cwd</code>).</p>
|
||||||
in the shimmie directory.
|
<p>(If you don't have composer, <a href="https://getcomposer.org/">get it here</a>)</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in a new issue