A tumblelog CMS built on AJAX, PHP and MySQL.

config.php 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /* ===========================
  3. gelato CMS - A PHP based tumblelog CMS
  4. development version
  5. http://www.gelatocms.com/
  6. gelato CMS is a free software licensed under GPL (General public license)
  7. =========================== */
  8. ?>
  9. <?php
  10. // MySql configuration
  11. define('DB_Server', 'localhost'); // Set the MySQL hostname (generally "localhost")
  12. define('DB_name', 'gelato'); // Set the MySQL database gelato should use
  13. define('DB_User', 'root'); // Set the MySQL username
  14. define('DB_Password', 'pass'); // Set the MySQL password
  15. define('Table_prefix', 'gel_'); // Set the MySQL tables prefixes
  16. /* Do not edit below this line */
  17. define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
  18. session_start();
  19. header("Expires: Mon, 26 Jul 1957 05:00:00 GMT");
  20. header("Last-Modified: " . gmdate("D, d M Y H:i:s ") . " GMT");
  21. header("Cache-Control: no-store, no-cache, must-revalidate");
  22. header("Cache-Control: post-check=0, pre-check=0", false);
  23. header("Pragma: no-cache");
  24. require_once(Absolute_Path."classes".DIRECTORY_SEPARATOR."mysql_connection.class.php");
  25. require_once(dirname(__FILE__).'/classes/streams.php');
  26. require_once(dirname(__FILE__).'/classes/gettext.php');
  27. require_once(dirname(__FILE__)."/classes/lang.php");
  28. initIdioma('en');
  29. ?>