Home > Backend Development > PHP Tutorial > Discuz! X2.5 installation plug-in appears: Sorry, you are not installing a genuine application..Solution

Discuz! X2.5 installation plug-in appears: Sorry, you are not installing a genuine application..Solution

WBOY
Release: 2016-07-25 09:13:08
Original
894 people have browsed it
The discuz community has added version detection for plug-ins after updating to 2.0 or above. During installation, a prompt may appear: "Sorry, you are not installing a genuine application, and the installation program cannot continue." It is actually quite easy to solve this problem. Easy, find the following files:

  /source/function/function_cloudaddons.php


 Find the cloudaddons_validator process in the file, comment out the middle prompt, and change it to something like the following and you're done. .

  1. function cloudaddons_validator($addonid) {

  2.                                                                     using   using using                       through   through  through off   ‐       ‐ through                         through   use using ’ ’ ’s ’ through using cloudaddons_open('&mod=app&ac=valid ator&addonid='.$addonid.($array != = false ? '&rid='.$array['RevisionID'].'&sn='.$array['SN'].'&rd='.$array['RevisionDateline'] : '')) === ' 0 ') {
  3. / *genuine file verification decisive annotation
  4. CPMSG (' Cloudaddons_Genuine_Message ',' ',' Error ', Array (' Addonid '= & GT; $ addonid));

  5. * * /

  6.                                                                                                            So easy





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