Advertisement
Guest User

Config.php DyqleCMS by Stease

a guest
Mar 2nd, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * MySQL config
  5. *
  6. */
  7.  
  8. $host = 'localhost'; // MySQL host - VPS IP, localhost
  9. $user = 'root'; // Database user - Phpmyadmin gebruikersnaam
  10. $password = ''; // Database password - Phpmyadmin wachtwoord
  11. $database = 'database'; // Database name - Phpmyadmin database naam
  12. $port = '3306'; // MySQL Port - Standaard 3306
  13.  
  14. // Negeer dit:
  15.  
  16. try {
  17.  
  18. //Maak PDO connectie met DB
  19. $db = new PDO("mysql:host=".$host.";port=".$port.";dbname=".$database, $user, $password);
  20. $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  21.  
  22. } catch(PDOException $e) {
  23. //Laat fouten zien
  24. echo '<p class="bg-danger">'.$e->getMessage().'</p>';
  25. exit;
  26. }
  27.  
  28. /*
  29. *
  30. * Hotel config
  31. *
  32. */
  33.  
  34. $url = 'http://localhost'; // URL naar je hotel
  35. $hotelnaam = 'Dyqle'; // Je hotel naam
  36. $hoteldesc = 'Een rare plek, met tegekke mensen!'; // Je hotel slogan
  37. $motto = $hotelnaam . ', Het beste hotel!'; // Status voor nieuwe gebruikers
  38. $in_maintenance = false; // True voor onderhoud
  39. $credits = 9999999; // Aantal credits (Nieuwe gebruikers)
  40. $pixels = 9999999; // Aantal pixels (Nieuwe gebruikers)
  41.  
  42. /*
  43. *
  44. * Client config (Swf's)
  45. *
  46. */
  47.  
  48. $web_build = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; // Webbuild van habbo
  49. $external_vars = $url . '/r63/external_variables.txt'; // External Vars
  50. $external_texts = $url . '/r63/external_flash_texts'; // External Flash Texts
  51. $product_data = $url . '/r63/productdata.txt'; // Product data
  52. $swf_folder = $url . '/r63/swf'; // SWF Folder
  53.  
  54. /*
  55. *
  56. * Social Network config
  57. *
  58. */
  59.  
  60. $twitter = 'TwitterAccount'; // Hotel's Twitter
  61.  
  62. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement