DedeCms

Source: Internet
Author: User
Tags php file php tutorial

Many of my friends need to install Zhimeng dedecms locally for testing. They need to log on to the background frequently. It is really troublesome to enter the verification code every time.

The new dedecms5.6 is more user-friendly. You can set verification codes in the background.

In dedecms5.6, you can set the verification code in the following path to go to the backend: System> System Settings> verification security settings.

However, this function is not integrated in the background of dedecms5.5 in the old version of Zhimeng. To remove the background login verification code, you need to modify the code,

The following is the modification method:

1. Edit and open the dedelogin. php Tutorial file under the root directory. dede is the background Directory. If you rename the background Directory, go to the renamed directory and edit it to open the login. php file.

2. Search for if ($ validate = ''| $ validate! = $ Svali) with if (false)

3. Edit and open the background login template file dede/templets/login.htm, delete or comment out the specific html code of the following verification code:

<Li> <span> verification code: </span>
<Input name = "validate" type = "text" id = "vdcode" style = 'width: 50px; text-transform: uppercase; '/>

</Li>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.