I Cant Import Vendors

hi




Yii::import('application.vendors.*');

require_once('test.php');



i use this code in sitecontroller

but it give me an error

like this




 require_once(test.php): failed to open stream: No such file or directory


D:\xampp\htdocs\appstore2\protected\controllers\SiteController.php(7)


01 <?php

02 Yii::import('application.vendors.*');

03 require_once('test.php');

04 class SiteController extends Controller

05 {



whate the problame

can anyone help me

thank you

application.vendor is a path alias.

The error is in this statement:

require_once(‘test.php’);

put test.php into same directory with SiteController.php.

Hi

in which folder is the test.php ?

Also test.php is independent php or a class that inherits an Yii class ?