Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. <?php
  2. /** ************************************************\
  3. * Iplace CMS \
  4. * @copyright 2014 \
  5. * @since 2013 \
  6. * @author Jasler.nl \
  7. * @link http://jasler.nl/iplace/ \
  8. * @deprecated OLDER VERSIONS LOWER THAN THIS ONE \
  9. * @name Iplace CMS \
  10. * @license FREE LIFE LICENCE \
  11. * @tutorial http://jasler.nl/iplace/tutorial/ /
  12. * /
  13. * DON'T CHANGE SOMETHING IF YOU DON'T /
  14. * KNOW HOW IT WORKS! /
  15. * /
  16. * © 2013 Iplace CMS Project & Iplace Hotel /
  17. * ORIGINAL CMS MAKER: JASPER VRIENDS - JASLER.NL |
  18. * |
  19. * BUILD 18 |
  20. * DATE: 09-05-2014 |
  21. * COPYRIGHTS: Jasper Vriends |
  22. * INFO: http://jasler.nl/iplace/ |
  23. * UPDATE IC1.9 |
  24. * |
  25. * FIRST TIME? USE THE /install/ PLEASE!!! |
  26. * |
  27. *****************************************************/
  28.  
  29. /** DATABASE */
  30. $_WEBSITE["DB"]["host"] = "localhost"; // Database host (Like "localhost")
  31.  
  32. $_WEBSITE["DB"]["username"] = "root"; // Database username (Like "root")
  33.  
  34. $_WEBSITE["DB"]["password"] = "jemoederx"; // Database password (Like "password" or empty)
  35.  
  36. $_WEBSITE["DB"]["database"] = "sparkie"; // Database name (Like "myhotelDB")
  37.  
  38. /** CMS */
  39.  
  40. $_WEBSITE["CMS"]["url"] = "http://spark-hotel.nl"; // Website addres with no / at the end
  41.  
  42. $_WEBSITE["CMS"]["url2"] = "http://spark-hotel.nl";
  43.  
  44. $_WEBSITE["CMS"]["psswd_hash"] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\(ugf*/"; //Password hash
  45.  
  46. $_WEBSITE["CMS"]["maintenance"] = false; // Is your hotel in maintenance? Yes = true || No = false
  47.  
  48. $_WEBSITE["CMS"]["isEnabledSentToHotelIsOfflinePage"] = true; // Is the CMS allowed to rederict the user when there is no Server connection to the ./hoteloffline page? - true = yes; false = no
  49.  
  50. $_WEBSITE["CMS"]["onleyClientOpenIfServerConnected"] = false; // Set client closed if hotel is offline
  51.  
  52. $_WEBSITE["CMS"]["layout"] = 1; // You can choose between 2 templates, 1 is Habbo normal template, 2 is other Habbo like template
  53.  
  54. $_WEBSITE["CMS"]["activation_email"] = true; // Do you want that your users need to activate their email?
  55.  
  56. $_WEBSITE["CMS"]["activation_auto_login"] = true; // If they activated they account is it okey to login them automaticly (Via link from the email (works once))?
  57.  
  58. $_WEBSITE["CMS"]["activation_email_template"] = 1; // If there is an activation needed you have a new and a old email template :) 1 = new template; all other numbers is the old template
  59.  
  60. $_WEBSITE["CMS"]["login_username"] = true; // Are the users enabled to login with thair username AND email?
  61.  
  62. $_WEBSITE["CMS"]["webbuild"] = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/2486"; // The webbuild if you need to use it (Like the client)
  63. //$_WEBSITE["CMS"]["webbuild"] = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/1792/";
  64.  
  65. $_WEBSITE["CMS"]["build"] = "IplaceCMS V1.9"; // CMS build - Please, leave our credits!
  66.  
  67. $_WEBSITE["CMS"]["language"] = "nl"; // CMS Language
  68. // Default IplaceCMS languages:
  69. // nl - en - de - fr
  70. // If there the language is not found:
  71. // The CMS will give a error!
  72.  
  73. $_WEBSITE["CMS"]["r63b"] = true; // Do you have a R63B server? (For groups, that stops the bug in the hotel game)
  74.  
  75. /** HOTEL */
  76. $_WEBSITE["HTL"]["name"] = "Spark"; // Your hotel name
  77.  
  78. $_WEBSITE["HTL"]["motto"] = "I <3 "; // Motto user (I <3 HotelName)
  79.  
  80. $_WEBSITE["HTL"]["credits"] = "10000"; // Motto user (I <3 HotelName)
  81.  
  82. $_WEBSITE["HTL"]["owner"] = "Jordy"; // Type here the owner(s) of you hotel!
  83.  
  84. $_WEBSITE["HTL"]["year_since"] = "2015"; // Type here when your hotel starts (Year)
  85.  
  86. $_WEBSITE["HTL"]["email"] = "noreplay@iplace-hotel.tk"; // Type here when your hotel starts (Year)
  87.  
  88. /** CLIENT */
  89. $_WEBSITE['CLIENT']['server_ip'] = "86.82.127.199"; // IP (or website) linked to the server
  90.  
  91. $_WEBSITE['CLIENT']['server_port'] = "3000"; // Port of the server
  92.  
  93. $_WEBSITE['CLIENT']['external_vars'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game/external_variables.txt'; //URL to your external vars
  94.  
  95. $_WEBSITE['CLIENT']['external_texts'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game/external_flash_texts.txt'; //URL to your external texts
  96.  
  97. $_WEBSITE['CLIENT']['product_data'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel/game/productdata.txt'; //URL to your productdata
  98.  
  99. $_WEBSITE['CLIENT']['furni_data'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game/furnidata_xml.xml'; //URL to your furnidata
  100.  
  101. $_WEBSITE['CLIENT']['figure_data'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game/figuredata.xml'; //URL to your furnidata
  102.  
  103. $_WEBSITE["CLIENT"]["base"] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game';
  104.  
  105. $_WEBSITE['CLIENT']['swf_folder'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game'; //URL to your SWF folder(does not end with a '/')
  106.  
  107. $_WEBSITE['CLIENT']['swf_hotelswf'] = $_WEBSITE["CMS"]["url"] . 'http://spark-hotel.nl/game/Habbo.swf'; //URL to your SWF folder(does not end with a '/')
  108.  
  109.  
  110. /** SET DATABASE CONNECTION
  111. V1.8 update:
  112. MySQL moved to MySQLi
  113. (Still uses SQL, don't worry)
  114. */
  115. $conn = new mysqli($_WEBSITE["DB"]["host"], $_WEBSITE["DB"]["username"], $_WEBSITE["DB"]["password"], $_WEBSITE["DB"]["database"]);
  116. /** CHECK */
  117.  
  118. $_WEBSITE["CMS"]["config.class"] = true;
  119. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement