ThinkPHP cannot find a UDF. how can this problem be solved?

Source: Internet
Author: User
New thinkPHP users cannot find a user-defined function. I am new to the company's original SB system, which forces me to learn thinkPHP which is disgusting. On the homepage IndexAction. class. php, I found that if (hasPrivilege ("ReportP thinkPHP cannot find a UDF.
I am new to the company's original SB system, forcing me to learn thinkPHP which is disgusting.
I found this sentence in the homepage IndexAction. class. php.
If (hasPrivilege ("ReportPV", 0 )){
$ Trees ['20160901'] [] = array ('id' => '20160901', 'text' => 'hangzhou', 'leaf' => true, 'linkurl' => '/tp3_et3/SHIPPINGAnalysis/index. php/stat? Target = profitall ');
}

Apparently, hasPrivilege is a user-defined function,
In which file can I find how the UDF is defined, because I want to modify it.
------ Solution --------------------
Please first read the document on this disgusting framework, which of the following are definitely custom functions? (I have never touched tp, so I am not sure)
------ Solution --------------------
Common/common. php

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.