2014-06-16 13:05:42 6149次浏览 2条回答 0 悬赏 20 金钱

我用其他程序定期生成php文件放在 protected/data/test.php,

现在我在Controller里使用 Yii::import('application.data.test.php', true);

出现错误

Alias "application.data.test.php" is invalid. Make sure it points to an existing PHP file and the file is readable.

请问我该怎么样引用这个文件?

您需要登录后才可以回答。登录 | 立即注册
fmfeggman
实习生

fmfeggman

注册时间:2014-04-23
最后登录:2016-09-17
在线时长:1小时57分
  • 粉丝0
  • 金钱0
  • 威望0
  • 积分10

热门问题