Changeset 251
- Timestamp:
- 05/27/07 16:22:24
- Files:
-
- FreakAuth/trunk/installation_instructions.txt (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
FreakAuth/trunk/installation_instructions.txt
r160 r251 54 54 5) create the necessary tables in the database: import FreakAuth_DB.sql 55 55 56 6) try to access http://www.YOUR_WEBSITE.com/index.php/installer/ 56 6) 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 62 7) try to access http://www.YOUR_WEBSITE.com/index.php/installer/ 57 63 58 64 In this page you wil check if you installed the DB tables properly and if you … … 61 67 You will also be able to insert the system superadmin. 62 68 63 7) add your encryption key in your system/application/config/config.php69 8) add your encryption key in your system/application/config/config.php 64 70 (read "Setting Your Key" at http://www.codeigniter.com/user_guide/libraries/encryption.html) 65 71 66 8)In order to make CAPTCHA functionality to work properly make your folders www.YOUR_WEBSITE.com/tmp72 9)In order to make CAPTCHA functionality to work properly make your folders www.YOUR_WEBSITE.com/tmp 67 73 writable (chmod (777)). 68 74 … … 71 77 * ADDITIONAL STUFF: 72 78 *------------------------------------------------------------------------------- 73 9) To customise your views change the files in79 10) To customise your views change the files in 74 80 75 81 application/views/FreakAuth_light/template … … 82 88 See application/controllers/auth.php as an example. 83 89 84 1 0) Check out your system/application/config/freakauth_light.php90 11) Check out your system/application/config/freakauth_light.php 85 91 to change the settings of your authentication system 86 92 … … 127 133 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 128 134 --------------------------------------------------------------- 129 1 1) HOW TO PROTECT WEBSITE AREAS135 12) HOW TO PROTECT WEBSITE AREAS 130 136 131 137 Use this in your controllers … … 174 180 175 181 --------------------------------------------------------------- 176 1 2) HOW TO DISPLAY (execute certain things) CERTAIN THINGS DEPENDING ON ROLES (group membership)182 13) HOW TO DISPLAY (execute certain things) CERTAIN THINGS DEPENDING ON ROLES (group membership) 177 183 178 184 There are 4 methods in the FreakAuth_light library to perform this operation. … … 215 221 216 222 -------------------------------------------------------------------------------- 217 1 3) HOW TO USE mod_rewrite223 14) HOW TO USE mod_rewrite 218 224 219 225 a) create a file called .htaccess with the following content … … 231 237 232 238 $config['index_page'] = ""; 239 240 -------------------------------------------------------------------------------- 241 15) 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 233 245 234 246 ********************************************************************************
