2009-12-12 17:39:18 +00:00
|
|
|
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
|
|
|
/**
|
|
|
|
* Base path of the web site. If this includes a domain, eg: localhost/kohana/
|
|
|
|
* then a full URL will be used, eg: http://localhost/kohana/. If it only includes
|
|
|
|
* the path, and a site_protocol is specified, the domain will be auto-detected.
|
|
|
|
*/
|
|
|
|
$config['site_domain'] = '/g3_client/';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Force a default protocol to be used by the site. If no site_protocol is
|
|
|
|
* specified, then the current protocol is used, or when possible, only an
|
|
|
|
* absolute path (with no protocol/domain) is used.
|
|
|
|
*/
|
2009-12-16 04:48:00 +00:00
|
|
|
$config['site_protocol'] = 'http';
|
2009-12-12 17:39:18 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Name of the front controller for this application. Default: index.php
|
|
|
|
*
|
|
|
|
* This can be removed by using URL rewriting.
|
|
|
|
*/
|
|
|
|
$config['index_page'] = 'index.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fake file extension that will be added to all generated URLs. Example: .html
|
|
|
|
*/
|
|
|
|
$config['url_suffix'] = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Length of time of the internal cache in seconds. 0 or FALSE means no caching.
|
|
|
|
* The internal cache stores file paths and config entries across requests and
|
|
|
|
* can give significant speed improvements at the expense of delayed updating.
|
|
|
|
*/
|
|
|
|
$config['internal_cache'] = FALSE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal cache directory.
|
|
|
|
*/
|
|
|
|
$config['internal_cache_path'] = APPPATH.'cache/';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable internal cache encryption - speed/processing loss
|
|
|
|
* is neglible when this is turned on. Can be turned off
|
|
|
|
* if application directory is not in the webroot.
|
|
|
|
*/
|
|
|
|
$config['internal_cache_encrypt'] = TRUE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Encryption key for the internal cache, only used
|
|
|
|
* if internal_cache_encrypt is TRUE.
|
|
|
|
*
|
|
|
|
* Make sure you specify your own key here!
|
|
|
|
*
|
|
|
|
* The cache is deleted when/if the key changes.
|
|
|
|
*/
|
|
|
|
$config['internal_cache_key'] = 'g3_client';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable or disable gzip output compression. This can dramatically decrease
|
|
|
|
* server bandwidth usage, at the cost of slightly higher CPU usage. Set to
|
|
|
|
* the compression level (1-9) that you want to use, or FALSE to disable.
|
|
|
|
*
|
|
|
|
* Do not enable this option if you are using output compression in php.ini!
|
|
|
|
*/
|
|
|
|
$config['output_compression'] = FALSE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable or disable global XSS filtering of GET, POST, and SERVER data. This
|
|
|
|
* option also accepts a string to specify a specific XSS filtering tool.
|
|
|
|
*/
|
|
|
|
$config['global_xss_filtering'] = FALSE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable or disable hooks.
|
|
|
|
*/
|
2009-12-18 23:03:22 +00:00
|
|
|
$config['enable_hooks'] = true;
|
2009-12-12 17:39:18 +00:00
|
|
|
/**
|
|
|
|
* Enable or disable displaying of Kohana error pages. This will not affect
|
|
|
|
* logging. Turning this off will disable ALL error pages.
|
|
|
|
*/
|
|
|
|
$config['display_errors'] = TRUE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable or disable statistics in the final output. Stats are replaced via
|
|
|
|
* specific strings, such as {execution_time}.
|
|
|
|
*
|
|
|
|
* @see http://docs.kohanaphp.com/general/configuration
|
|
|
|
*/
|
|
|
|
$config['render_stats'] = TRUE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Filename prefixed used to determine extensions. For example, an
|
|
|
|
* extension to the Controller class would be named MY_Controller.php.
|
|
|
|
*/
|
|
|
|
$config['extension_prefix'] = 'MY_';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An optional list of Config Drivers to use, they "fallback" to the one below them if they
|
|
|
|
* dont work so the first driver is tried then so on until it hits the built in "array" driver and fails
|
|
|
|
*/
|
|
|
|
$config['config_drivers'] = array();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Additional resource paths, or "modules". Each path can either be absolute
|
|
|
|
* or relative to the docroot. Modules can include any resource that can exist
|
|
|
|
* in your application directory, configuration files, controllers, views, etc.
|
|
|
|
*/
|
|
|
|
$config['modules'] = array
|
|
|
|
(
|
|
|
|
// MODPATH.'auth', // Authentication
|
|
|
|
// MODPATH.'forge', // Form generation
|
|
|
|
// MODPATH.'kodoc', // Self-generating documentation
|
|
|
|
// MODPATH.'media', // Media caching and compression
|
|
|
|
// MODPATH.'gmaps', // Google Maps integration
|
|
|
|
// MODPATH.'archive', // Archive utility
|
|
|
|
// MODPATH.'payment', // Online payments
|
|
|
|
// MODPATH.'unit_test', // Unit testing
|
|
|
|
// MODPATH.'object_db', // New OOP Database library (testing only!)
|
|
|
|
);
|
2009-12-22 22:26:13 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base path of the gallery3 restFULL API
|
|
|
|
*/
|
2010-01-03 00:30:08 +00:00
|
|
|
$config["gallery3_site"] = "http://????/gallery3/index.php/rest";
|