In order to enrich our framework, we need to introduce some useful tools for the framework, such as: Phpexcel, Phpmailer, Verification code class ....
1. Manually create the directory extends under the root of the framework and create the tool and org directories in the directory, respectively, for the tools and third-party extension classes;
Extends//third-party class library Directory Extends/ tool//Tools Extends/org//third-party extensions
2. Define three constants in the framework portal file jhphp.php to hold the path of the above three folders;
Definition extension file directory define (' Extends_path ', Jhphp_path. ' /extends ');d efine (' Tool_path ', Extends_path. /tool ');d efine (' Org_path ', Extends_path. /org ');
OK, here's the section to complete .....
"24" framework third party class library and tool class storage path definition