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