How to add and modify the founder of uchome

Source: Internet
Author: User

The permissions of the founder are higher than those of the Administrator. Some important functions of the ucenter home background can be seen only after the founder logs on, such as template editing, multi-application settings, and data backup, so sometimes the webmaster may feel that a founder in the website is not enough, or wants to change the administrator to the Founder. The following describes the procedure:

1. Open the config. php file in the ucenter home root directory.

Find the following code:

    Code: [copy]
  • $ _ SC ['founder'] = '1'; // founder uid, which can be separated by commas (,).

As shown in:

2. Add a founder

If I want to add a member with UID 5 as the founder, modify the Code as follows:

    Code: [copy]
  • $ _ SC ['founder'] = '1, 5'; // founder uid, which can be separated by commas (,).

3. Modify founder

I want to cancel the founder of uid 5, as long as the account with UID 1 is the founder, then change this code:

    Code: [copy]
  • $ _ SC ['founder'] = '1 ';

You can.

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.