Skip to content

Commit

Permalink
update some logic for php serve
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 12, 2021
1 parent 5fa11f0 commit 1c98e59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Util/PhpDevServe.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class PhpDevServe

/**
* The entry file for server. e.g web/index.php
* NOTICE: if set the entry file, will need handle static file access.
*
* @var string
*/
Expand Down Expand Up @@ -302,10 +303,9 @@ public function getPhpBin(): string
*/
public function getEntryFile(): string
{
if (!$this->entryFile) {
$this->entryFile = self::IDX_FILE;
}

// if (!$this->entryFile) {
// $this->entryFile = self::IDX_FILE;
// }
return $this->entryFile;
}

Expand Down

0 comments on commit 1c98e59

Please sign in to comment.