New config-sample.php for manually instalation

master
pecesama 2007-10-09 04:37:37 +00:00
parent 388b5bffd3
commit 64af9c9b1e
3 changed files with 27 additions and 45 deletions

View File

@ -10,26 +10,12 @@ if(!defined('entry') || !entry) die('Not a valid page');
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
=========================== */
?>
<?php
// MySql configuration
define('DB_Server', '[server]'); // Set the MySQL hostname (generally "localhost")
define('DB_name', '[database]'); // Set the MySQL database gelato should use
define('DB_User', '[userdb]'); // Set the MySQL username
define('DB_Password', '[dbpass]'); // Set the MySQL password
define('Table_prefix', '[tableprefix]'); // Set the MySQL tables prefixes
/* Do not edit below this line */
define('DB_Server', '[server]');
define('DB_name', '[database]');
define('DB_User', '[userdb]');
define('DB_Password', '[dbpass]');
define('Table_prefix', 'gel_');
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
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");
ini_set('pcre.backtrack_limit', '10000');
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');
?>

View File

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

View File

@ -9,6 +9,19 @@
That's it! gelato should now be installed.
==== How to update to v0.95 RC1 from v0.90 version =====
1) Download and unzip the gelato package, if you haven't already.
2) Create a backup of your config.php file.
3) Replace all the old files with those from the new 0.95 RC1.
4) Rename the config-sample.php file to config.php.
5) Open config.php in your favorite text editor and fill in your database details (using the information on your old config.php).
4) Execute the update.php file.
7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'.
That's it! gelato should now be updated.
==== Update files for version previous to v0.90 are available on the download section =====
==== How to install gelato CMS (Manually) =====
@ -25,17 +38,3 @@ That's it! gelato should now be installed.
That's it! gelato should now be installed.
Demo user: admin
Demo pass: demo
==== How to update to v0.95 RC1 from v0.90 version =====
1) Download and unzip the gelato package, if you haven't already.
2) Create a backup of your config.php file.
3) Replace all the old files with those from the new 0.95 RC1 EXCEPT for the file config.php
3.1) If you do replace it by error, use the backup you create during step two.
4) Execute the update.php file.
7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'
That's it! gelato should now be updated.
==== Update files for version previous to v0.90 are available on the download section =====