We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这个应该不是BUG, 可能是php7下类型严谨了
我之前继承了 Yaf_Controller_Abstract, 然后里面加了
protected $yafAutoRender = 1;
结果到7下死活不出视图,一片空空, 后来把 1 改成 true 就好了。
The text was updated successfully, but these errors were encountered:
另外 在Cli下面, 用
Yaf_Dispatcher::getInstance()->autoRender(false); Yaf_Dispatcher::getInstance()->disableView();
未能阻止视图,提示找不到视图文件出错。
protected $yafAutoRender = false;
也无效, 用
protected $yafAutoRender = 0;
可以, 不报错
奇怪的问题。
Sorry, something went wrong.
No branches or pull requests
这个应该不是BUG, 可能是php7下类型严谨了
我之前继承了 Yaf_Controller_Abstract, 然后里面加了
结果到7下死活不出视图,一片空空, 后来把 1 改成 true 就好了。
The text was updated successfully, but these errors were encountered: