Completely delete the API for obtaining shop information from ecshop. ecshop for obtaining shop api_PHP tutorial

Source: Internet
Author: User
The ecshop API for obtaining store information is completely deleted, and the ecshop api for obtaining store information. The API for obtaining store information in ecshop is completely deleted. the api version used by ecshop to obtain store information is ECShop_V2.7.3_UTF8_release1106, to completely remove the AP in which store information is obtained, complete the API used to delete shop information in ecshop. ecshop obtains shop api

The version used is ECShop_V2.7.3_UTF8_release1106. you can complete the steps below to remove the API interface for obtaining store information.

1. delete the API for obtaining store information

1. search for "elseif ($ _ REQUEST ['act '] = 'main _ api')" in admin/index. php, and delete the source file Line 489-539.
This section is used to obtain the official ecshop version, language, release time, PHP version, database version, encoding, order quantity, product quantity, user quantity, shop subject, style name, shop URL, patch information api.

2. open admin/templates/start.htm and search for "Ajax. call ('index. php? Is_ajax = 1 & act = main_api ', '', start_api, 'get', 'text', 'flase');" delete, and "start_api () "," api_styel () "delete, source file 234-293 rows.

2. delete the API that obtains and records the store address

1. admin/templates/index.htm search http://api.ecshop.com/record.php? Mod = login & url = {$ shop_url} ", delete this hidden frameset, source file 25-27 rows.

3. when the store configuration is deleted and submitted, the obtained store configuration includes: name, title, description, keyword, country, address, QQ, email, version number, and encoding.

1. search admin/shop_config.php "$ spt ='

Related Article

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.