Show
Ignore:
Timestamp:
08/30/2007 02:36:32 PM (15 months ago)
Author:
OscarB
Message:

UG updates; softly softly, catchee monkee

Location:
trunk/modules/user_guide/views/user_guide
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/views/user_guide/content/general/configuration.php

    r447 r454  
    1 Article status [Stub] requires [Writing] Configuring the Framework 
     1Article status [Draft] requires [Writing] Configuring the Framework, add remaining entries 
    22# Configuration 
    3 This is a stub (please write me) 
     3Kohana adopts the philosophy of *convention* over *configuration*. The goal is to minimize user  configuration. Where configuration is required or enabled, sensible defaults are utilised. 
     4 
     5System configuration is specified by entries in files located in folder */application/config/*. 
     6 
     7Configuration files are ordinary text files with a default *php* file extension.  
     8 
     9The primary configuration file is <file>/application/config/config</file> System wide configuration is 
     10specified here and is required for every new installation. 
     11 
     12**Note:** Optional entries are indicated by square brackets. 
     13 
     14## Config entries 
     15### Base URL 
     16Specifies the url which points to the base or root of your application.  
     17Format: 
     18<pre>config item                domain name             /[subdirectory/]</pre> 
     19<code> 
     20$config['base_url'] = 'http://'.$_SERVER['SERVER_NAME'].'/kohana/'; 
     21</code> 
     22*base_url* is **mandatory** and requires a correct server domain that **must** terminate with a "**/**" 
     23 
     24### Front Controller 
     25Specifies the name of the system *Front Controller*, usually <file>index</file>, but may be renamed. 
     26Format: 
     27<pre>config item                [front controller name]</pre> 
     28<code> 
     29$config['index_page'] = 'index.php'; 
     30</code> 
     31*index_page* is **optional**. If your web server supports dynamic url re-writing. The front controller 
     32may be dynamically removed fron the uri path. Set this item to blank if you are using re-writes. 
     33 
     34### Url Suffix 
     35Specifies the suffix which should be dynamically added to the uri path. 
     36Format: 
     37<pre>*url_suffix*               [suffix]</pre> 
     38<code> 
     39$config['url_suffix'] = '.html'; 
     40</code> 
     41*url_suffix* is **optional** You may specify any valid extension as a suffix. Set to blank to remove. 
     42 
     43### Permitted URI Characters 
     44Specifies the characters which the system will allow as part of a uniform resource indicator. 
     45Format: 
     46<pre>*permitted_uri_chars*              character set</pre> 
     47<code> 
     48$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-'; 
     49</code> 
     50*permitted_uri_chars* is **mandatory** A minimal character set must be specified or the system cannot function. 
     51 
     52**Security Note:** It is recommended that the default character set be used, to secure the system against 
     53hacking attempts. Additional characters may be configured, but please be aware of the security implication.  
  • trunk/modules/user_guide/views/user_guide/menu.php

    r450 r454  
    1111        'Kohana' => array 
    1212        ( 
     13                'About', 
    1314                'Requirements', 
    1415                'Downloads', 
    1516                'Installation', 
    16                 'About', 
    1717                'Links' 
    1818        ), 
     
    4747                'File', 
    4848                'Html', 
     49                'Text', 
    4950                'Url' 
    5051        )