浏览代码

updated the installation proccess

pecesama 18 年前
父节点
当前提交
2eb8f3a986
共有 2 个文件被更改,包括 4 次插入7 次删除
  1. 1 1
      api.php
  2. 3 6
      readme.txt

+ 1 - 1
api.php 查看文件

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

+ 3 - 6
readme.txt 查看文件

1
 ==== How to install gelato CMS =====
1
 ==== How to install gelato CMS =====
2
 
2
 
3
 1) Download and unzip the gelato package, if you haven't already.
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
 	* If you installed gelato in the root directory, you should visit: http://example.com/install.php
6
 	* If you installed gelato in the root directory, you should visit: http://example.com/install.php
10
           * 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 
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
 That's it! gelato should now be installed.   
10
 That's it! gelato should now be installed.   
14
 
11