Changeset 251

Show
Ignore:
Timestamp:
05/27/07 16:22:24
Author:
danfreak
Message:

"updated installation instructions: in particular with regard to custom DB table prefix"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • FreakAuth/trunk/installation_instructions.txt

    r160 r251  
    54545) create the necessary tables in the database: import FreakAuth_DB.sql 
    5555 
    56 6) try to access http://www.YOUR_WEBSITE.com/index.php/installer/ 
     566) We set the table prefix to "fa_": if you want to change it do it now from phpMyAdmin  
     57   or your DB software. 
     58   If you change the DB table prefix, open the file system/application/config/freakauth_light.php 
     59   and change $config['FAL_table_prefix'] value to your table prefix (i.e. if your table prefix 
     60   is "pippo_" set $config['FAL_table_prefix'] = 'pippo_';) 
     61 
     627) try to access http://www.YOUR_WEBSITE.com/index.php/installer/ 
    5763     
    5864    In this page you wil check if you installed the DB tables properly and if you  
     
    6167    You will also be able to insert the system superadmin. 
    6268 
    63 7) add your encryption key in your system/application/config/config.php 
     698) add your encryption key in your system/application/config/config.php 
    6470  (read "Setting Your Key" at http://www.codeigniter.com/user_guide/libraries/encryption.html) 
    6571 
    66 8)In order to make CAPTCHA functionality to work properly make your folders www.YOUR_WEBSITE.com/tmp 
     729)In order to make CAPTCHA functionality to work properly make your folders www.YOUR_WEBSITE.com/tmp 
    6773  writable (chmod (777)). 
    6874 
     
    7177* ADDITIONAL STUFF: 
    7278*------------------------------------------------------------------------------- 
    73 9) To customise your views change the files in  
     7910) To customise your views change the files in  
    7480     
    7581          application/views/FreakAuth_light/template 
     
    8288    See application/controllers/auth.php as an example. 
    8389 
    84 10) Check out your system/application/config/freakauth_light.php 
     9011) Check out your system/application/config/freakauth_light.php 
    8591    to change the settings of your authentication system 
    8692     
     
    127133  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
    128134---------------------------------------------------------------     
    129 11)  HOW TO PROTECT WEBSITE AREAS 
     13512)  HOW TO PROTECT WEBSITE AREAS 
    130136     
    131137    Use this in your controllers 
     
    174180             
    175181---------------------------------------------------------------               
    176 12) HOW TO DISPLAY (execute certain things) CERTAIN THINGS DEPENDING ON ROLES (group membership) 
     18213) HOW TO DISPLAY (execute certain things) CERTAIN THINGS DEPENDING ON ROLES (group membership) 
    177183   
    178184  There are 4 methods in the FreakAuth_light library to perform this operation. 
     
    215221 
    216222--------------------------------------------------------------------------------  
    217 13) HOW TO USE mod_rewrite  
     22314) HOW TO USE mod_rewrite  
    218224 
    219225    a) create a file called .htaccess with the following content 
     
    231237        
    232238       $config['index_page'] = ""; 
     239        
     240--------------------------------------------------------------------------------  
     24115) HOW TO USE RE_ROUTE the application/controllers/auth.php controller 
     242 
     243    have a look at this tutorial: 
     244    - http://www.4webby.com/freakauth/tutorials/i-dont-like-that-authphp-controller.html 
    233245        
    234246********************************************************************************