Advertisement
Guest User

Untitled

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