Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 5cc7533

Browse files
committed
Only use folder name without trailing slash as <docroot> and omit explicit 'router' parameter for wider compatibility.
1 parent 1b125c4 commit 5cc7533

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Once installed, you can test it out immediately using PHP's built-in web server:
2222

2323
```bash
2424
$ cd path/to/install
25-
$ php -S 0.0.0.0:8080 -t public/ index.php
25+
$ php -S 0.0.0.0:8080 -t public
2626
# OR use the composer alias:
2727
$ composer run --timeout 0 serve
2828
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"development-enable": "zf-development-mode enable",
117117
"development-status": "zf-development-mode status",
118118
"post-create-project-cmd": ["@development-enable"],
119-
"serve": "php -S 0.0.0.0:8080 -t public/ index.php",
119+
"serve": "php -S 0.0.0.0:8080 -t public",
120120
"test": "phpunit"
121121
}
122122
}

0 commit comments

Comments
 (0)