This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 3rd, 2010  |  syntax: None  |  size: 1.37 KB  |  views: 110  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
  3.  
  4. $config['site']['name'] = 'sitename.com';
  5.  
  6. $config['site']['server'] = 'sitename.com';
  7. $config['site']['path'] = '';
  8.  
  9. $config['site']['fancy'] = true;
  10.  
  11. $config['db']['database'] = 'mysqli://sitename:user*y@mysql.sitename.com/sitename_com';
  12.  
  13. $config['db']['type'] = 'mysql';
  14.  
  15. addPlugin('Facebook');
  16. $config['admin']['panels'][] = 'facebook';
  17. addPlugin('TwitterBridge');
  18. $config['admin']['panels'][] = 'twitter';
  19.  
  20. addPlugin('MobileProfile');
  21.  
  22. $config['site']['notice'] = '<ul><li><a href="http://news.sitename.com" target="_blank">sitename News</a></li></ul>';
  23.        
  24. function AddMetaKey($action)
  25. {
  26. $action->element('meta', array('name'=>'keywords', 'content'=>'kyewords,more keywords,etc'));
  27. $action->element('meta', array('name'=>'Description', 'content'=>'description'));
  28. $action->element('meta', array('name'=>'ROBOTS', 'content'=>'INDEX,FOLLOW'));
  29. return true;
  30. }
  31. Event::addHandler('EndShowHeadElements', 'AddMetaKey');
  32.  
  33. require_once('plugins/GoogleAnalyticsPlugin.php');
  34. $ga = new GoogleAnalyticsPlugin('xxxxxxx');
  35.  
  36. $config['nickname']['featured'][] = 'xxx';
  37. $config['nickname']['featured'][] = 'xxx';
  38. $config['nickname']['featured'][] = 'xxx';
  39. $config['nickname']['featured'][] = 'xxx';
  40.  
  41. $config['site']['logfile'] = '/home/user/sitename.com/statusnet.log';
  42.  
  43. require_once('test_ads.php');
clone this paste RAW Paste Data