Show
Ignore:
Timestamp:
11/23/2007 05:10:56 PM (12 months ago)
Author:
Shadowhand
Message:

More changes to core:

  • Added a kohana_loading benchmark, for timing loading the core files
  • Split controller_execution benchmark into controller_setup and controller_execution
  • Created a new core config option, enable_utf8, to enable utf8 support to be turned off
  • Modified other core libraries and helpers to be aware of utf8 being disabled
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/application/config/config.php

    r1230 r1250  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22/** 
    3  * File: config.php 
    4  *  This configuration file is unique to every application. 
     3 * Site-specific application configuration is done here. This configuration file 
     4 * does not extend any other configuration file. All of the items here are prefixed 
     5 * with "core", eg: core.index_page would fetch the index_page variable from the 
     6 * configuration array. 
    57 * 
    68 * Options: 
     
    911 *  index_page           - name of the front controller, can be removed with URL rewriting 
    1012 *  url_suffix           - an extension that will be added to all generated URLs 
     13 *  enable_utf8          - enable or disable internal utf8 support 
     14 *  global_xss_filtering - enable or disable XSS attack filtering on all user input 
    1115 *  allow_config_set     - enable or disable setting of Config items 
    12  *  global_xss_filtering - enable or disable XSS attack filtering on all user input 
    1316 *  extension_prefix     - filename prefix for library extensions 
    14  *  include_paths        - extra Kohana resource paths, see <Kohana.find_file> 
     17 *  include_paths        - "module" support, additional resource paths that will be searched 
    1518 *  autoload             - libraries and models to be loaded with the controller 
    1619 */ 
     
    2124        'index_page'           => 'index.php', 
    2225        'url_suffix'           => '', 
    23         'allow_config_set'     => TRUE, 
     26        'enable_utf8'          => TRUE, 
    2427        'global_xss_filtering' => FALSE, 
     28        'allow_config_set'     => FALSE, 
    2529        'extension_prefix'     => 'MY_', 
    2630        'include_paths'        => array 
    2731        ( 
    28                 // 'modules/auth', 
    29                 // 'modules/ikeafans', 
    30                 // 'modules/user_guide', 
    31                 // 'modules/orm', 
    32                 'modules/kodoc', 
    33                 // 'modules/mixnotify' 
     32                // To enable the demo module, uncomment the following line 
     33                // 'modules/demo', 
    3434        ), 
    3535        'autoload'             => array 
     
    3737                'libraries' => '', 
    3838                'models'    => '' 
    39         ) 
     39        ), 
    4040);