Changeset 482

Show
Ignore:
Timestamp:
08/10/06 12:22:31 (2 years ago)
Author:
ben
Message:

.htaccess has been renamed to htaccess-dist for distribution. Added check to includes.php (with warning to see the INSTALL file if .htaccess is not found), and notes to both INSTALL and QUICKINSTALL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/INSTALL

    r437 r482  
    22 
    33Ben Werdmuller <ben@elgg.net> 
    4 8 May 2006 
     410 August 2006 
    55 
    66 
     
    5757the root of your web server account. 
    5858 
    59 ENSURE YOU HAVE INCLUDED .htaccess files - on Linux and Unix systems 
    60 (including Mac OS X) you may not be able to see these. In particular, 
    61 there should be a file called .htaccess in the root of your Elgg install. 
    62  
    63 IF YOU ARE UPGRADING, you may wish to retain your existing 
    64 config.php file. 
     59Rename htaccess-dist to .htaccess. 
    6560 
    6661 
  • devel/QUICKINSTALL

    r328 r482  
    11Quick Elgg 0.6 install file 
    2 by Bill Fitzgerald 
    3 --------------------------- 
     2originally by Bill Fitzgerald 
     3----------------------------- 
    44 
    551. Create a database. 
     
    1818directory can be named whatever you want. 
    1919 
    20 5. Open config-dist.php (found in the root directory of the Elgg 
     205. Rename htaccess-dist to .htaccess. 
     21 
     226. Open config-dist.php (found in the root directory of the Elgg 
    2123directory structure). Rename this file config.php. 
    2224 
    23 6. In config.php, edit the following values to get started. The 
     257. In config.php, edit the following values to get started. The 
    2426config.php file also contains good instructions: 
    2527 
     
    5759 
    5860 
    59 7. Navigate to the url of the site. The database tables will be created, 
     618. Navigate to the url of the site. The database tables will be created, 
    6062and you should see a long line of messages indicating success. At the 
    6163bottom of the page, you will see a "Continue" button -- click it. 
    6264 
    63 8. This will bring you the Elgg home screen. The main site admin is 
     659. This will bring you the Elgg home screen. The main site admin is 
    6466already created: Username "News"; password "password". Log in as this 
    6567user and change the password to something more secure. Welcome to your 
  • devel/includes.php

    r477 r482  
    1010        require_once(dirname(__FILE__)."/config.php"); 
    1111 
     12    // Check for .htaccess 
     13        if (!file_exists(dirname(__FILE__)."/.htaccess")) { 
     14            die('Elgg configuration error: .htaccess is missing. Please see INSTALL file.'); 
     15        } 
     16         
    1217    // Check config values make sense 
    1318        require_once(dirname(__FILE__).'/sanitychecks.php');