From 8c11a4b7e2ab73d1d4eb6477835fc062ea31c8df Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 5 May 2013 18:35:49 -0400 Subject: [PATCH] code reorganization fix. --- apps/bootstrap/index.php | 2 +- docs/guide/bootstrap.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bootstrap/index.php b/apps/bootstrap/index.php index 8f98090..e3188c1 100644 --- a/apps/bootstrap/index.php +++ b/apps/bootstrap/index.php @@ -2,7 +2,7 @@ defined('YII_DEBUG') or define('YII_DEBUG', true); -require(__DIR__ . '/../framework/yii.php'); +require(__DIR__ . '/../../framework/yii.php'); $config = require(__DIR__ . '/protected/config/main.php'); $application = new yii\web\Application($config); diff --git a/docs/guide/bootstrap.md b/docs/guide/bootstrap.md index 5f00a75..1bc3fe6 100644 --- a/docs/guide/bootstrap.md +++ b/docs/guide/bootstrap.md @@ -7,7 +7,7 @@ If you have installed Yii under a Web-accessible folder, you should be able to access this application through the following URL: ~~~ -http://localhost/yii/app/index.php +http://localhost/yii/apps/bootstrap/index.php ~~~