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.