Delete config.php and update config-sample.php
parent
70f4e5eda2
commit
2392b22d04
|
|
@ -17,7 +17,6 @@
|
||||||
define('DB_User', '[userdb]'); // Set the MySQL username
|
define('DB_User', '[userdb]'); // Set the MySQL username
|
||||||
define('DB_Password', '[dbpass]'); // Set the MySQL password
|
define('DB_Password', '[dbpass]'); // Set the MySQL password
|
||||||
define('Table_prefix', '[tableprefix]'); // Set the MySQL tables prefixes
|
define('Table_prefix', '[tableprefix]'); // Set the MySQL tables prefixes
|
||||||
|
|
||||||
/* Do not edit below this line */
|
/* Do not edit below this line */
|
||||||
|
|
||||||
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
||||||
|
|
@ -28,5 +27,9 @@
|
||||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
require_once(Absolute_Path."classes".DIRECTORY_SEPARATOR."mysql_connection.class.php");
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
|
||||||
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
|
||||||
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
|
||||||
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
|
||||||
|
initIdioma('en');
|
||||||
?>
|
?>
|
||||||
36
config.php
36
config.php
|
|
@ -1,36 +0,0 @@
|
||||||
<?php
|
|
||||||
/* ===========================
|
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under GPL (General public license)
|
|
||||||
|
|
||||||
=========================== */
|
|
||||||
?>
|
|
||||||
<?php
|
|
||||||
// MySql configuration
|
|
||||||
define('DB_Server', 'localhost'); // Set the MySQL hostname (generally "localhost")
|
|
||||||
define('DB_name', 'gelato'); // Set the MySQL database gelato should use
|
|
||||||
define('DB_User', 'root'); // Set the MySQL username
|
|
||||||
define('DB_Password', 'pass'); // Set the MySQL password
|
|
||||||
define('Table_prefix', 'gel_'); // Set the MySQL tables prefixes
|
|
||||||
|
|
||||||
/* Do not edit below this line */
|
|
||||||
|
|
||||||
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
|
||||||
|
|
||||||
session_start();
|
|
||||||
header("Expires: Mon, 26 Jul 1957 05:00:00 GMT");
|
|
||||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s ") . " GMT");
|
|
||||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
|
||||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
|
||||||
header("Pragma: no-cache");
|
|
||||||
require_once(Absolute_Path."classes".DIRECTORY_SEPARATOR."mysql_connection.class.php");
|
|
||||||
|
|
||||||
require_once(dirname(__FILE__).'/classes/streams.php');
|
|
||||||
require_once(dirname(__FILE__).'/classes/gettext.php');
|
|
||||||
require_once(dirname(__FILE__)."/classes/lang.php");
|
|
||||||
initIdioma('en');
|
|
||||||
?>
|
|
||||||
Loading…
Reference in New Issue