Completely delete the API for obtaining store information in ecshop, ecshop obtains store api_PHP tutorial

WBOY
Release: 2016-07-13 10:10:45
Original
745 people have browsed it

Completely delete the API for obtaining store information in ecshop, and ecshop obtains store api

The version used is ECShop_V2.7.3_UTF8_release1106. Follow the following steps to completely remove the API interface for obtaining store information.

1. Delete the API for obtaining store information

1. Search admin/index.php for "elseif ($_REQUEST['act'] == 'main_api')" and delete lines 489 - 539 of the source file.
This function is the official API to obtain the ecshop version, language, release time, PHP version, database version, encoding, order quantity, product quantity, user number, store theme, style name, store URL, and patch information.

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 delete "start_api()" and "api_styel()" at the same time, lines 234 - 293 of the source file.

2. Delete the API for obtaining and recording store addresses

1. Search "http://api.ecshop.com/record.php?mod=login&url={$shop_url}" in admin/templates/index.htm, delete this hidden frameset, lines 25 - 27 of the source file .

3. When deleting the store configuration and submitting it, the store configuration obtained includes: name, title, description, keywords, country, address, QQ, email, version number, and code

1. Search "$spt = '", delete the entire line, 143 lines in the source file.

5. The following is to delete the API interface in the installation file. If you have completed the installation, there is no need to perform this step

1. install/includes/lib_auto_installer.php Find "get_spt_code()" and change its return value to empty (return '';).
This section is to obtain the store's access URL, installation operation, version, hash value, encoding, and language.

2. install/includes/lib_installer.php also needs to change the return value of "get_spt_code()".

Okay, everything has been done, friends in need can refer to it

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/932489.htmlTechArticle Completely delete the API for obtaining store information in ecshop. The version used by ecshop to obtain store api is ECShop_V2.7.3_UTF8_release1106, press The following steps can completely remove the AP that obtains store information...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!