Skip to content

Commit 1c98e59

Browse files
committed
update some logic for php serve
1 parent 5fa11f0 commit 1c98e59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Util/PhpDevServe.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class PhpDevServe
4343

4444
/**
4545
* The entry file for server. e.g web/index.php
46+
* NOTICE: if set the entry file, will need handle static file access.
4647
*
4748
* @var string
4849
*/
@@ -302,10 +303,9 @@ public function getPhpBin(): string
302303
*/
303304
public function getEntryFile(): string
304305
{
305-
if (!$this->entryFile) {
306-
$this->entryFile = self::IDX_FILE;
307-
}
308-
306+
// if (!$this->entryFile) {
307+
// $this->entryFile = self::IDX_FILE;
308+
// }
309309
return $this->entryFile;
310310
}
311311

0 commit comments

Comments
 (0)