"24" framework third party class library and tool class storage path definition

Source: Internet
Author: User

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

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.