A tumblelog CMS built on AJAX, PHP and MySQL.

config-sample.php 1.2KB

1234567891011121314151617181920212223242526272829303132
  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 the GPL 2.0
  7. Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
  8. =========================== */
  9. ?>
  10. <?php
  11. // MySql configuration
  12. define('DB_Server', '[server]'); // Set the MySQL hostname (generally "localhost")
  13. define('DB_name', '[database]'); // Set the MySQL database gelato should use
  14. define('DB_User', '[userdb]'); // Set the MySQL username
  15. define('DB_Password', '[dbpass]'); // Set the MySQL password
  16. define('Table_prefix', '[tableprefix]'); // Set the MySQL tables prefixes
  17. /* Do not edit below this line */
  18. define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
  19. session_start();
  20. header("Expires: Mon, 26 Jul 1957 05:00:00 GMT");
  21. header("Last-Modified: " . gmdate("D, d M Y H:i:s ") . " GMT");
  22. header("Cache-Control: no-store, no-cache, must-revalidate");
  23. header("Cache-Control: post-check=0, pre-check=0", false);
  24. header("Pragma: no-cache");
  25. require_once(Absolute_Path."classes".DIRECTORY_SEPARATOR."mysql_connection.class.php");
  26. ?>