Complete Delete Ecshop get store information api,ecshop get store api_php Tutorials

Source: Internet
Author: User

Complete Delete Ecshop get store information Api,ecshop get store API


The version used is ecshop_v2.7.3_utf8_release1106, which can be completely removed from the API interface where the store information is obtained by following these steps.

First, delete the API to get store information

1. admin/index.php Search "elseif ($_request[' act '] = = ' Main_api ')", delete, source file 489-539 lines.
This feature is the official API for obtaining Ecshop version, language, release time, PHP version, database version, encoding, order quantity, number of items, number of users, and store theme, style name, store URL, patch information.

2. Open admin/templates/start.htm, search for "Ajax.call" (' Index.php?is_ajax=1&act=main_api ', ', ' Start_api, ' GET ', ' TEXT ', ' Flase '); " Delete the "Start_api ()", "Api_styel ()" and delete the source file 234-293 lines.

Second, delete the API to get and record 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 lines.

Third, delete store configuration submission, get the store configuration, including: Name, title, description, keywords, country, address, QQ, mailbox, version number, encoding

1. admin/shop_config.php search "$SPT = '", the whole row is deleted, the source file is 143 lines.

Five, the following is the removal of the API interface in the installation file, if you have already completed the installation, there is no need to do this step

1. install/includes/lib_auto_installer.php find "Get_spt_code ()" To change its return value to null (return ';).
This section is access to the store's URL, installation operation, version, hash value, encoding, language.

2. install/includes/lib_installer.php also changes the return value of "Get_spt_code ()" to OK.

All right, it's all done, and you need a little buddy to deal with.

http://www.bkjia.com/PHPjc/932489.html www.bkjia.com true http://www.bkjia.com/PHPjc/932489.html techarticle Complete Delete Ecshop to get store information Api,ecshop get store API version is ecshop_v2.7.3_utf8_release1106, follow the steps below to completely remove the AP which obtains store information ...

  • 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.