From 6b99e4f2e4b53d7488c17685c1db9957507b39b8 Mon Sep 17 00:00:00 2001 From: Kuts Dmitriy Date: Fri, 11 May 2018 00:37:00 +0200 Subject: [PATCH] Change document root to public (#16254) --- framework/console/controllers/ServeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/console/controllers/ServeController.php b/framework/console/controllers/ServeController.php index c344d6a..2231cfd 100644 --- a/framework/console/controllers/ServeController.php +++ b/framework/console/controllers/ServeController.php @@ -34,7 +34,7 @@ class ServeController extends Controller /** * @var string path or [path alias](guide:concept-aliases) to directory to serve */ - public $docroot = '@app/web'; + public $docroot = 'public'; /** * @var string path to router script. * See https://secure.php.net/manual/en/features.commandline.webserver.php