Thinkphp configuration file path implementation method,
As follows:
// System constant definition // Go To The THinkPHP manual to find echo "<br> ". "root directory address of the website ". _ ROOT __. ""; echo "<br> ". "entry file address ". _ APP __. ""; echo "<br> ". "Current module address ". _ URL __. ""; echo "<br> ". "current url address ". _ SELF __. ""; echo "<br> ". "Current Operation address ". _ ACTION __. ""; echo "<br> ". "template directory of the current module ". _ CURRENT __. ""; echo "<br> ". "current operation name ". ACTION_NAME. ""; echo "<br> ". "current project directory ". APP_PATH. ""; echo "<br> ". "Current Project name ". APP_NAME. ""; echo "<br> ". "template directory of the current project ". APP_TMPL_PATH. ""; echo "<br> ". "Public file directory of the project ". APP_PUBLIC_PATH. ""; echo "<br> ". "project configuration file directory ". CONFIG_PATH. ""; echo "<br> ". "Public file directory of the project ". COMMON_PATH. ""; // automatically cache all table-related information echo "<br> ". "project data file directory ". DATA_PATH. "data directory in runtime"; echo "<br> ". "". GROUP_NAME. ""; echo "<br> ". "". IS_CGI. ""; echo "<br> ". "". IS_WIN. ""; echo "<br> ". "". LANG_SET. ""; echo "<br> ". "". LOG_PATH. ""; echo "<br> ". "". LANG_PATH. ""; echo "<br> ". "". TMPL_PATH. ""; // the location where js is put for echo of public resources of multiple applications "<br> ". "". WEB_PUBLIC_PATH. "";
The implementation of the above thinkphp configuration file path is all the content shared by the editor. I hope to give you a reference and support for the customer's house.