值得学习

值得学习

这家伙有点懒,还没写个性签名!

  • 财富值5
  • 威望值0
  • 总积分45

个人信息

  • 赞了回答
    /**
     * @var bool whether to automatically pluralize the URL names for controllers.
     * If true, a controller ID will appear in plural form in URLs. For example, `user` controller
     * will appear as `users` in URLs.
     * @see controller
     */
    public $pluralize = true;
    
    

    你这么写需要先设置 'pluralize'=>false;

  • 回复了 的评论

    你好,进入测试页面,输入localhost/yii2/yii2test/frontend/web/index.php
    页面显示以下内容:

    Object not found!
    
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
    
    If you think this is a server error, please contact the webmaster.
    Error 404
    localhost
    Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 
    

    token(hidden) 这里没法输入是什么情况?你那里可以输入吗?

试用期 等级规则
45/50
资料完整度
10/100
用户活跃度
0/100

Ta的关注

1

Ta的粉丝

1

Ta的访客

5