What does the libfile () function mean and how to solve it?-php Tutorial

Source: Internet
Author: User
What does the libfile () function mean? require_oncelibfile (); we all know that require_once is a function that contains files and executes. libfile !!!!! Thank you! Online waiting !!!!!!!!! ------ Solution ------------------ in discuzx1.5, what is the meaning of the sourceclassclass_core.p libfile () function?
Require_once libfile ();


We all know that require_once contains files and executes them.

What does the libfile () function mean !!!!!



Thank you!

Online waiting !!!!!!!!!

------ Solution --------------------
In the discuz x1.5 version, only the discuz_core class in the source/class/class_core.php file is initialized.
PHP code
Function discuz_core () {[color = # FF0000] $ this-> _ init_env (); [/color] $ this-> _ init_config (); $ this-> _ init_input (); $ this-> _ init_output ();}
------ Solution --------------------
It is to facilitate the call of written functions.
I opened the library just two days ago. if you are interested, please refer to it :)
Http://dev.discuz.org/wiki
------ Solution --------------------
Is a function in discuz used to load files in the specified path. PHP does not bring this function.

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.