Browse Source

Delete config.php and update config-sample.php

vbracco 17 years ago
parent
commit
2392b22d04
2 changed files with 5 additions and 38 deletions
  1. 5 2
      config-sample.php
  2. 0 36
      config.php

+ 5 - 2
config-sample.php View File

@@ -17,7 +17,6 @@
17 17
 	define('DB_User', '[userdb]');				// Set the MySQL username
18 18
 	define('DB_Password', '[dbpass]'); 			// Set the MySQL password
19 19
 	define('Table_prefix', '[tableprefix]');	// Set the MySQL tables prefixes
20
-
21 20
 	/* Do not edit below this line */
22 21
 
23 22
 	define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);	
@@ -28,5 +27,9 @@
28 27
 	header("Cache-Control: no-store, no-cache, must-revalidate");
29 28
 	header("Cache-Control: post-check=0, pre-check=0", false);
30 29
 	header("Pragma: no-cache");
31
-	require_once(Absolute_Path."classes".DIRECTORY_SEPARATOR."mysql_connection.class.php");
30
+	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
31
+	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
32
+	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
33
+	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
34
+	initIdioma('en');
32 35
 ?>

+ 0 - 36
config.php View File

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