Browse Source

code reorganization fix.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
8c11a4b7e2
  1. 2
      apps/bootstrap/index.php
  2. 2
      docs/guide/bootstrap.md

2
apps/bootstrap/index.php

@ -2,7 +2,7 @@
defined('YII_DEBUG') or define('YII_DEBUG', true); 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'); $config = require(__DIR__ . '/protected/config/main.php');
$application = new yii\web\Application($config); $application = new yii\web\Application($config);

2
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: access this application through the following URL:
~~~ ~~~
http://localhost/yii/app/index.php http://localhost/yii/apps/bootstrap/index.php
~~~ ~~~

Loading…
Cancel
Save