Browse Source

Fixed iii include path.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
0744413819
  1. 2
      build/build
  2. 2
      tests/unit/bootstrap.php
  3. 2
      tests/web/app/index.php

2
build/build

@ -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__;

2
tests/unit/bootstrap.php

@ -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__);

2
tests/web/app/index.php

@ -1,6 +1,6 @@
<?php
require(__DIR__ . '/../../../yii/Yii.php');
require(__DIR__ . '/../../../framework/yii/Yii.php');
$application = new yii\web\Application('test', __DIR__ . '/protected');
$application->run();

Loading…
Cancel
Save