The version you use is ecshop_v2.7.3_utf8_release1106, and the following steps are used to completely remove the API interface from which to get store information.
First, delete the access to the store information API
1. admin/index.php Search "elseif ($_request[' act '] = = ' Main_api ')", delete, source file 489-539 lines.
This feature is the official access to Ecshop version, language, release time, PHP version, database version, encoding, order quantity, number of items, number of users and shop theme, style name, shop URL, patch information API.
2. Open admin/templates/start.htm, search "Ajax.call" (' Index.php?is_ajax=1&act=main_api ', ', ', Start_api, ' get ', ' TEXT ', ' Flase '); " Delete, at the same time "Start_api ()", "Api_styel ()" deleted, the source file 234-293 lines.
Ii. Delete the API for obtaining and recording store addresses
1. Admin/templates/index.htm search "http://api.ecshop.com/record.php?mod=login&url={$shop _url}" to remove this hidden frameset, The source file is 25-27 lines.
Third, delete store configuration submission, get the store configuration, including: Name, title, description, keywords, country, address, QQ, mailbox, version number, code
1. admin/shop_config.php search "$SPT = ' <script type=" Text/javascript "src=" http://api.ecshop.com/record.php? '; ', will "$ SPT "This variable is deleted. The source file is 231-243 lines. And the following reference to "$SPT" where the "$SPT" deleted. Source file 245-254 Lines (delete only variables, not whole paragraphs).
Four, delete the store menu to get language and coding
1. Admin/templates/menu.htm search "' <script language=" JavaScript "src=" ' http://api.ecshop.com/menu_ext.php?charset= {$charset}&lang={$help _lang} "> ' </script>", whole row Delete, source file 143 lines.
The following is the removal of the API interface in the installation files, if you have 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 (returns "";).
This section is to obtain the store access URL, installation operation, version, hash value, encoding, language.
2. install/includes/lib_installer.php also changes the return value of "Get_spt_code ()" to be available.
All right, it's all done, there's a small partner in need.