Added new (clean) yii boilerplate
This commit is contained in:
10
www/protected/tests/bootstrap.php
Normal file
10
www/protected/tests/bootstrap.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// change the following paths if necessary
|
||||
$yiit=dirname(__FILE__).'/../../../framework/yiit.php';
|
||||
$config=dirname(__FILE__).'/../config/test.php';
|
||||
|
||||
require_once($yiit);
|
||||
require_once(dirname(__FILE__).'/WebTestCase.php');
|
||||
|
||||
Yii::createWebApplication($config);
|
||||
Reference in New Issue
Block a user