Browse Source

updated the installation proccess

pecesama 17 years ago
parent
commit
2eb8f3a986
2 changed files with 4 additions and 7 deletions
  1. 1 1
      api.php
  2. 3 6
      readme.txt

+ 1 - 1
api.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-if(!defined('entry') || !entry) die('Not a valid page'); 
2
+if(!defined('entry')) define('entry',true);
3 3
 /* ===========================
4 4
 
5 5
   gelato CMS - A PHP based tumblelog CMS

+ 3 - 6
readme.txt View File

@@ -1,14 +1,11 @@
1 1
 ==== How to install gelato CMS =====
2 2
 
3 3
 1) Download and unzip the gelato package, if you haven't already.
4
-2) Create a database for gelato on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
5
-3) Rename the config-sample.php file to config.php.
6
-4) Open config.php in your favorite text editor and fill in your database details.
7
-5) Place the gelato files in the desired location on your web server.
8
-6) Run the gelato installation script by accessing install.php in your favorite web browser.
4
+2) Place the gelato files in the desired location on your web server.
5
+3) Run the gelato installation script by accessing install.php in your favorite web browser.
9 6
 	* If you installed gelato in the root directory, you should visit: http://example.com/install.php
10 7
           * If you installed gelato in its own subdirectory called tumblelog, for example, you should visit: http://example.com/tumblelog/install.php 
11
-7) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'
8
+4) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads'
12 9
 
13 10
 That's it! gelato should now be installed.   
14 11