Skip to content

Commit

Permalink
Remove var in bin/doc-readme acordding with issue #50
Browse files Browse the repository at this point in the history
  • Loading branch information
messiasdias committed May 16, 2021
1 parent 093c41e commit 746a413
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bin/doc-readme
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/usr/local/bin/php
<?php
require_once "vendor/autoload.php";
$path = __DIR__."/../";
$replace = "/Link to Documentation (.*)\n/";
$src = $path."README.md";
$dst = $path."docs/README.md";
$logo = $path."storage/assets/img/logo.png";
$copyDir = $path."docs/storage/assets/img/";
$src = "README.md";
$dst = "docs/README.md";
$logo = "storage/assets/img/logo.png";
$copyDir = "docs/storage/assets/img/";

if(file_exists($logo)) {
if(!is_dir($copyDir)) {
Expand Down

0 comments on commit 746a413

Please sign in to comment.