Commit 07444138 by Qiang Xue

Fixed iii include path.

parent f7210516
......@@ -11,7 +11,7 @@
// fcgi doesn't have STDIN defined by default
defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require(__DIR__ . '/../yii/Yii.php');
require(__DIR__ . '/../framework/yii/Yii.php');
$id = 'yii-build';
$basePath = __DIR__;
......
......@@ -5,7 +5,7 @@ define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
require_once(__DIR__ . '/../../yii/Yii.php');
require_once(__DIR__ . '/../../framework/yii/Yii.php');
Yii::setAlias('@yiiunit', __DIR__);
......
<?php
require(__DIR__ . '/../../../yii/Yii.php');
require(__DIR__ . '/../../../framework/yii/Yii.php');
$application = new yii\web\Application('test', __DIR__ . '/protected');
$application->run();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment