A tumblelog CMS built on AJAX, PHP and MySQL.

config-sample.php 1.1KB

12345678910111213141516171819202122232425262728293031
  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', '[server]'); // Set the MySQL hostname (generally "localhost")
  12. define('DB_name', '[database]'); // Set the MySQL database gelato should use
  13. define('DB_User', '[userdb]'); // Set the MySQL username
  14. define('DB_Password', '[dbpass]'); // Set the MySQL password
  15. define('Table_prefix', '[tableprefix]'); // 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. ?>