A tumblelog CMS built on AJAX, PHP and MySQL.

config-sample.php 1.1KB

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