Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <?php
  2.  
  3. include "functions.php";
  4.  
  5. function masterconnect(){
  6.  
  7. global $dbcon;
  8. $dbcon = mysqli_connect('IP', 'nutzer', 'pw', 'dbname', 'port') or die ('Verbindung mit Datenbank nicht möglich');
  9. }
  10.  
  11. function loginconnect(){
  12.  
  13. global $dbconL;
  14. $dbconL = mysqli_connect('IP', 'nutzer', 'pw', 'dbname', 'port');
  15. }
  16.  
  17. function Rconconnect(){
  18.  
  19. global $rcon;
  20. $rcon = new \Nizarii\ArmaRConClass\ARC('rcon ip', 2307, 'rcon pw');
  21. }
  22.  
  23. global $DBHost;
  24. $DBHost = '';
  25. global $DBUser;
  26. $DBUser = '';
  27. global $DBPass;
  28. $DBPass = '';
  29. global $DBName;
  30. $DBName = '';
  31.  
  32. global $RconHost;
  33. $RconHost = '';
  34. global $RconPort;
  35. $RconPort = ;
  36. global $RconPass;
  37. $RconPass = '';
  38.  
  39. global $maxCop;
  40. $maxCop = 8;
  41. global $maxMedic;
  42. $maxMedic = 8;
  43. global $maxAdmin;
  44. $maxAdmin = 5;
  45. global $maxDonator;
  46. $maxDonator = 3;
  47.  
  48. global $apiUser;
  49. $apiUser = 'wwww';
  50. global $apiPass;
  51. $apiPass = 'wwwwwwwwwwwww';
  52. global $apiEnable;
  53. $apiEnable = 0;
  54.  
  55. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement