This article mainly introduces how to completely delete the API for obtaining store information in ecshop, which is very detailed and recommended to friends.
This article mainly introduces how to completely delete the API for obtaining store information in ecshop, which is very detailed and recommended to friends.
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. Search for admin/templates/index.htm "}" and delete this hidden frameset. The source file contains 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 ='