thinkphp common functions already configured ~ Unlimited updates

Source: Internet
Author: User

thinkphp version 3.1.3

Entry function:

Define the project name
Define (' App_name ', ' APP ');
Defining Project Paths
Define (' App_path ', './app/');

Turn on debug mode
Define (' App_debug ', True);
Load frame into file
Require './thinkphp/thinkphp.php ';

Modify the default Access index controller ( directly under the project's Conf config.php Modify/Add ):

' Default_module ' = ' Home ',//default module (default Controller directory)

Default_controller ' = ' Index ',//Default controller name '

Default_action ' = ' index ',//Default action name (method name)

thinkphp common functions already configured ~ Unlimited updates

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.