Statusnet configuration file config. php (Installation Reference)

Source: Internet
Author: User
Statusnet configuration file config. php (Installation Reference)

 

Install and configure statusnet.

The following is a fl of config. php, and O (fill _ blank) O ~

// Use URL rewrite $ config ['SITE'] ['fancy '] = true; // friendly to mobile phones $ config ['SITE'] ['mobile'] = true; // settings $ config ['location'] ['share'] = false; // set whether the "geographic sharing" option box (checkbox) is displayed; $ config ['location'] ['geographic default'] = false; // sets the default option for user geographic sharing, if this parameter is set to false, all newly registered users will disable the geographic location $ config ['attachances'] ['uploads'] = false; // disable unset ($ config ['ins ins'] ['default'] ['mapstraction']); // close the Geographic Information Sharing unset ($ config ['ins ins'] ['default'] ['ostatus']); // disable ostatusunset ($ config ['ins ins'] ['default'] ['openid']); // disable openidunset ($ config ['ins ins'] ['default'] ['wikihashtags ']); // disable wikihashtagsunset ($ config ['ins ins'] ['default'] ['geonames ']); // disable GeoNames // Twitter settings $ config ['admin'] ['panels'] [] = 'twitter '; // Add the Twitter option to the Administrator menu $ config ['twitter '] ['signin'] = false; // Twitter integration source attribute. note: default is statusnet $ config ['integration'] ['source'] = 'statusnet'; // enable bidirectional Twitter bridge // note: if you enable this you must also set $ config ['Avatar '] ['path'] // $ config ['twitterimport'] ['enabled'] = true; // Twitter oauth settings. documentation is at least = ''; $ config ['twitter '] ['consumer _ secret'] =''; // open the Twitter connection plug-in addplugin ('twitterbridge '); // open the mobileprofile plug-in to facilitate the mobile browsing of addplugin ('leleprofile ');

"$ Config ['integration'] ['source']" indicates the API name when you register a Twitter API. If you have any Chinese characters, remember to save config. php as the "UTF without Bom" encoding format.

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.