Browse Source

New config-sample.php for manually instalation

pecesama 17 years ago
parent
commit
64af9c9b1e
3 changed files with 27 additions and 45 deletions
  1. 7 21
      config-sample.php
  2. 4 7
      notice.txt
  3. 16 17
      readme.txt

+ 7 - 21
config-sample.php View File

@@ -10,26 +10,12 @@ if(!defined('entry') || !entry) die('Not a valid page');
10 10
   Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
11 11
 
12 12
   =========================== */
13
-?>
14
-<?php
15
-	// MySql configuration
16
-	define('DB_Server', '[server]');			// Set the MySQL hostname (generally "localhost")
17
-	define('DB_name', '[database]');			// Set the MySQL database gelato should use
18
-	define('DB_User', '[userdb]');				// Set the MySQL username
19
-	define('DB_Password', '[dbpass]'); 			// Set the MySQL password
20
-	define('Table_prefix', '[tableprefix]');	// Set the MySQL tables prefixes
21
-	/* Do not edit below this line */
22 13
 
23
-	define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);	
24
-	
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
-	ini_set('pcre.backtrack_limit', '10000');
31
-	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'mysql_connection.class.php');
32
-	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
33
-	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
34
-	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
14
+define('DB_Server', '[server]');
15
+define('DB_name', '[database]');
16
+define('DB_User', '[userdb]');
17
+define('DB_Password', '[dbpass]'); 
18
+define('Table_prefix', 'gel_');
19
+define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
20
+
35 21
 ?>

+ 4 - 7
notice.txt View File

@@ -2,10 +2,11 @@
2 2
 Gelato developers and designers (in chronological order):
3 3
 
4 4
 Pedro Santana [ http://www.pecesama.net/weblog/ ]
5
-Jorge Condomí [ http://www.raven.com.ar/ ]
6
-Víctor de la Rocha [ http://blog.mis-algoritmos.com/ ]
5
+Jorge Condomi [ http://www.raven.com.ar/ ]
6
+Victor de la Rocha [ http://blog.mis-algoritmos.com/ ]
7 7
 Victor Bracco [ http://www.vbracco.com.ar/blog/ ]
8 8
 Matt Heitzenroder [ http://www.globaljourney.net/ ]
9
+Juan del Rio [ http://elcaminante.net/ ]
9 10
 
10 11
 = COPYRIGHT NOTICES =
11 12
 This product includes code and libraries developed by third parties, which are governed by different licenses.  These components, and their licenses, are listed below.
@@ -49,8 +50,4 @@ Textile class available under GNU General Public License.
49 50
 = PHP-gettext =
50 51
 Copyright (c) 2003 Danilo Segan, http://savannah.nongnu.org/projects/php-gettext/
51 52
 Copyright (c) 2005 Nico Kaiser
52
-PHP-gettext available under GNU General Public License.
53
-
54
-= form.autosave =
55
-Copyright (c) Daniel Mota Leiva, http://icebeat.bitacoras.com/app/autosave/
56
-form.autosave available under Creative Commons Attribution-ShareAlike License.
53
+PHP-gettext available under GNU General Public License.

+ 16 - 17
readme.txt View File

@@ -4,11 +4,24 @@
4 4
 2) Place the gelato files in the desired location on your web server.
5 5
 3) Run the gelato installation script by accessing install.php in your favorite web browser.
6 6
 	* If you installed gelato in the root directory, you should visit: http://example.com/install.php
7
-          * If you installed gelato in its own subdirectory called tumblelog, for example, you should visit: http://example.com/tumblelog/install.php 
7
+    * If you installed gelato in its own subdirectory called tumblelog, for example, you should visit: http://example.com/tumblelog/install.php 
8 8
 4) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'
9 9
 
10
-That's it! gelato should now be installed.   
10
+That's it! gelato should now be installed.
11
+
12
+==== How to update to v0.95 RC1 from v0.90 version =====
13
+
14
+1) Download and unzip the gelato package, if you haven't already.
15
+2) Create a backup of your config.php file.
16
+3) Replace all the old files with those from the new 0.95 RC1.
17
+4) Rename the config-sample.php file to config.php.
18
+5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
19
+4) Execute the update.php file.
20
+7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'  and the folder 'uploads/CACHE'.
21
+
22
+That's it! gelato should now be updated.
11 23
 
24
+==== Update files for version previous to v0.90 are available on the download section =====
12 25
 
13 26
 ==== How to install gelato CMS (Manually) =====
14 27
 
@@ -24,18 +37,4 @@ That's it! gelato should now be installed.
24 37
 
25 38
 That's it! gelato should now be installed.
26 39
 	Demo user: admin
27
-	Demo pass: demo
28
-
29
-==== How to update to v0.95 RC1 from v0.90 version =====
30
-
31
-1) Download and unzip the gelato package, if you haven't already.
32
-2) Create a backup of your config.php file.
33
-3) Replace all the old files with those from the new 0.95 RC1 EXCEPT for the file config.php
34
-	3.1) If you do replace it by error, use the backup you create during step two.
35
-4) Execute the update.php file.
36
-7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'  and the folder 'uploads/CACHE'
37
-
38
-That's it! gelato should now be updated.
39
-
40
-
41
-==== Update files for version previous to v0.90 are available on the download section =====
40
+	Demo pass: demo