Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.00 KB | None | 0 0
  1. <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. /**
  4. * Base URL
  5. * This should be the base url to your site WITH the trailing slash
  6. * eg: http://yournetwork.net/
  7. */
  8. $config['base_url'] = 'http://redebrasil.org/';
  9.  
  10. /**
  11. * Site Name
  12. * Name for your site, this is use in the page titles
  13. * You will probably want to change at least the Network
  14. * name.
  15. */
  16. $config['site_name'] = "YourNetwork Services Web Interface";
  17.  
  18. /**
  19. * Xtheme/Atheme Host
  20. * This should the set to the ip address or hostname that is running
  21. * your Xtheme/Atheme serivces
  22. */
  23. $config['atheme_host'] = "0.0.0.0";
  24.  
  25. /**
  26. * Xtheme/Atheme Path
  27. * This should be set to the xmlrpc path in your xtheme.conf/atheme.conf,
  28. * you should be able to just leave this as is.
  29. */
  30. $config['atheme_path'] = "/xmlrpc";
  31.  
  32. /**
  33. * Xtheme/Atheme Port
  34. * The port your Xtheme/Atheme httpd is running on
  35. */
  36. $config['atheme_port'] = 8080;
  37.  
  38. /**
  39. * Xtheme/Atheme Service
  40. * Set these to the names of the Xtheme/Atheme services you run on your
  41. * network. FALSE if they do NOT exist on your network
  42. */
  43. $config['atheme_chanserv'] = "ChanServ";
  44. $config['atheme_nickserv'] = "NickServ";
  45. $config['atheme_memoserv'] = "MemoServ";
  46. $config['atheme_hostserv'] = "HostServ";
  47. $config['atheme_operserv'] = "OperServ";
  48. $config['atheme_botserv'] = "BotServ";
  49. $config['atheme_groupserv'] = "GroupServ";
  50.  
  51. /**
  52. * XOP System
  53. * If you wish to enable the XOP system within SWI
  54. */
  55. $config['atheme_xop'] = TRUE;
  56.  
  57. /**
  58. * FLAGS System
  59. * If you wish to enable the XOP system within SWI
  60. */
  61. $config['atheme_flags'] = TRUE;
  62.  
  63. /**
  64. * Does your network use +q & +a channel modes? (~Owner & &Protected)
  65. * (+q & +a e.g. ~Owner & &Protected)
  66. */
  67. $config['ircd_qa'] = TRUE;
  68.  
  69. /**
  70. * Does your network use +h channel modes? (%Halfop)
  71. * (Does your network use halfops channel modes?)
  72. */
  73. $config['ircd_ho'] = TRUE;
  74.  
  75. /**
  76. * Current Sessions (contrib/ns_listlogins) System
  77. * If you wish to enable the Current Sessions system within SWI
  78. * you must ensure that the Xtheme/Atheme contrib/ns_listlogins module
  79. * is loaded on your Xtheme/Atheme Services instance and set this to
  80. * TRUE. To disable Current Sessions, or if your Xtheme/Atheme is not
  81. * using contrib/ns_listlogins keep this at FALSE.
  82. */
  83. $config['atheme_listlogins'] = FALSE;
  84.  
  85. /**
  86. * WAITING LISTS System
  87. * If you wish to enable the WAITING LISTS system within SWI
  88. * OperServ dashboard.
  89. *
  90. * NOTE: Be sure to enable the one or more waiting lists below.
  91. * if you enable the WAITING LISTS system.
  92. */
  93. $config['atheme_waitings'] = FALSE;
  94.  
  95. /**
  96. * ChanServ WAITING LIST
  97. * If you wish to enable the ChanServ WAITING LIST within SWI
  98. * OperServ dashboard. *Requires chanserv/moderate enabled in
  99. * Xtheme/Atheme configuration file. (xtheme.conf/atheme.conf)
  100. */
  101. $config['atheme_cswaiting'] = FALSE;
  102.  
  103. /**
  104. * HostServ WAITING LIST
  105. * If you wish to enable the HostServ WAITING LIST within SWI
  106. * OperServ dashboard. *Requires hostserv/request enabled in
  107. * Xtheme/Atheme configuration file. (xtheme.conf/atheme.conf)
  108. */
  109. $config['atheme_hswaiting'] = FALSE;
  110.  
  111. /**
  112. * GroupServ FUNCTIONALITY
  113. * If you wish to enable the GroupServ within SWI.
  114. */
  115. $config['atheme_groups'] = FALSE;
  116.  
  117. /**
  118. * SOPER Module?
  119. * Set to TRUE or FALSE depending on if you run this Atheme
  120. * module or not.
  121. */
  122. $config['atheme_soper'] = TRUE;
  123.  
  124. /**
  125. * Web Register?
  126. * Allow users to register via the web?
  127. */
  128. $config['web_register'] = TRUE;
  129.  
  130. /**
  131. * Enable Staff Messages?
  132. * Optional messages to users from staff page.
  133. * File /swi/views/staff_messages.php
  134. * Edit file to your preferences and try not to forget to update it once in a while.
  135. */
  136. $config['staff_messages'] = TRUE;
  137.  
  138. /**
  139. * Enable Social Media?
  140. * Optional links to network facebook or twitter.
  141. * TRUE enables Social Media, FALSE disables it.
  142. */
  143. $config['social_media'] = FALSE;
  144.  
  145. /**
  146. * Network Facebook URL?
  147. * Optional URL to network Facebook account.
  148. * You will probably want to change this from the default
  149. */
  150. $config['fb_url'] = 'http://www.facebook.com/YourNetwork';
  151.  
  152. /**
  153. * Network Twitter URL?
  154. * Optional URL to network Twitter account.
  155. * You will probably want to change this from the default
  156. */
  157. $config['tw_url'] = 'http://twitter.com/YourNetwork';
  158.  
  159. /**
  160. * Index Page
  161. * This variable should be left as is UNLESS you want to remove it using .htaccess
  162. * and mod_rewrite (or equivalent) in that case comment out the line below and keep reading.
  163. */
  164. $config['index_page'] = 'index.php';
  165.  
  166. /**
  167. * If you wish to use Apache's mod_rewrite to remove the the index.php from your URI's
  168. * then uncomment the line below.
  169. */
  170. //$config['index_page'] = '';
  171.  
  172. /**
  173. * Encryption Key
  174. * This NEEDS to be set to a nice long random string this key will be used to secure
  175. * session and cookies
  176. */
  177. $config['encryption_key'] = 'YOU NEED TO SET THIS!';
  178.  
  179. /**
  180. * Session Config Options
  181. * I would hope these are fairly self explanitory
  182. */
  183. $config['sess_cookie_name'] = 'swi3_session';
  184. $config['sess_expiration'] = 7200;
  185. $config['sess_expire_on_close'] = FALSE;
  186. $config['sess_encrypt_cookie'] = FALSE;
  187. $config['sess_match_ip'] = FALSE;
  188. $config['sess_match_useragent'] = TRUE;
  189. $config['sess_time_to_update'] = 300;
  190. $config['cookie_prefix'] = "swi3_";
  191. $config['cookie_domain'] = "";
  192. $config['cookie_path'] = "/";
  193. $config['cookie_secure'] = FALSE;
  194.  
  195. /**
  196. * Compress Output
  197. * You can choose to compress all output at GZIP however
  198. * please make sure your system its working before doing this.
  199. */
  200. $config['compress_output'] = FALSE;
  201.  
  202. /**
  203. * Recaptcha
  204. * You can enable and use recaptcha for user login and registration.
  205. * You will nee a recaptcha key head over to: http://www.google.com/recaptcha sign up to get one
  206. * it's free and simple.
  207. */
  208. $config['login_recaptcha'] = FALSE;
  209. $config['register_recaptcha'] = FALSE;
  210. $config['recaptcha'] = array(
  211. 'public' => 'set your public recaptcha key',
  212. 'private' => 'set your private recaptcha key',
  213. /** If your site uses SSL, you will want to change http: to https: on the following line for ReCaptcha
  214. * to work and display properly.
  215. */
  216. 'RECAPTCHA_API_SERVER' => 'http://www.google.com/recaptcha/api.js',
  217. 'RECAPTCHA_API_SECURE_SERVER' => 'https://www.google.com/recaptcha/api.js',
  218. 'RECAPTCHA_VERIFY_SERVER' => 'https://www.google.com/recaptcha/api/siteverify',
  219. 'RECAPTCHA_SIGNUP_URL' => 'https://www.google.com/recaptcha/admin/create',
  220. 'theme' => 'white'
  221. );
  222.  
  223. //
  224. // ___ _ _ _ ___ _ _ _ ___ _ _ _
  225. // | \ ___ | \| |___| |_ | __|__| (_) |_ | _ )___| |_____ __ __ | || |___ _ _ ___
  226. // | |) / _ \ | .` / _ \ _| | _|/ _` | | _| | _ | -_) / _ \ V V / | __ / -_) '_/ -_)
  227. // |___/\___/ |_|\_\___/\__| |___\__,_|_|\__| |___|___|_\___/\_/\_/ |_||_\___|_| \___|
  228. //
  229. // You shoulnd't need to anything below this line, only attempt to do so if you know wtf you're doing!
  230. //
  231.  
  232. $config['subclass_prefix'] = 'EG_';
  233. $config['uri_protocol'] = 'AUTO';
  234. $config['url_suffix'] = '';
  235. $config['language'] = 'english';
  236. $config['charset'] = 'UTF-8';
  237. $config['enable_hooks'] = FALSE;
  238. $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
  239. $config['allow_get_array'] = TRUE;
  240. $config['enable_query_strings'] = FALSE;
  241. $config['controller_trigger'] = 'c';
  242. $config['function_trigger'] = 'm';
  243. $config['directory_trigger'] = 'd';
  244. $config['log_threshold'] = 0;
  245. $config['log_path'] = '';
  246. $config['log_date_format'] = 'Y-m-d H:i:s';
  247. $config['cache_path'] = '';
  248. $config['sess_use_database'] = FALSE;
  249. $config['sess_table_name'] = 'egs_sessions';
  250. $config['global_xss_filtering'] = TRUE;
  251. $config['csrf_protection'] = FALSE;
  252. $config['csrf_token_name'] = 'csrf_test_name';
  253. $config['csrf_cookie_name'] = 'csrf_cookie_name';
  254. $config['csrf_expire'] = 7200;
  255. $config['time_reference'] = 'local';
  256. $config['rewrite_short_tags'] = FALSE;
  257. $config['proxy_ips'] = '';
  258. $config['swi_vers'] = 'v3.3.2';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement