Changeset 1668
- Timestamp:
- 01/04/2008 10:01:49 AM (12 months ago)
- Location:
- trunk/system
- Files:
-
- 20 modified
-
config/cache.php (modified) (1 diff)
-
config/cache_sqlite.php (modified) (1 diff)
-
config/cookie.php (modified) (1 diff)
-
config/database.php (modified) (1 diff)
-
config/encryption.php (modified) (1 diff)
-
config/hooks.php (modified) (1 diff)
-
config/image.php (modified) (1 diff)
-
config/locale.php (modified) (1 diff)
-
config/log.php (modified) (1 diff)
-
config/mimes.php (modified) (1 diff)
-
config/pagination.php (modified) (1 diff)
-
config/payment.php (modified) (1 diff)
-
config/profiler.php (modified) (1 diff)
-
config/routes.php (modified) (2 diffs)
-
config/session.php (modified) (1 diff)
-
config/sql_types.php (modified) (1 diff)
-
config/upload.php (modified) (1 diff)
-
config/user_agents.php (modified) (3 diffs)
-
config/view.php (modified) (1 diff)
-
libraries/Encrypt.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/config/cache.php
r1360 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Cache 4 * 3 5 * Cache backend driver. Kohana comes with file, database, and memcache drivers. 4 6 * - File cache is fast and reliable, but requires many filesystem lookups. -
trunk/system/config/cache_sqlite.php
r1530 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Cache:SQLite 4 */ 3 5 $config['schema'] = 4 6 'CREATE TABLE caches( -
trunk/system/config/cookie.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Core 4 * 3 5 * Prefix, used to avoid collisions between cookie names. 4 6 */ -
trunk/system/config/database.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Database 4 * 3 5 * Database connection settings, defined as arrays, or "groups". If no group 4 6 * name is used when loading the database library, the group named "default" -
trunk/system/config/encryption.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Encrypt 4 * 3 5 * Encryption key used to do encryption and decryption. The default option 4 6 * should never be used for a production website. -
trunk/system/config/hooks.php
r1325 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Core 4 * 3 5 * Enable or disable hooks. Setting this option to TRUE will enable 4 6 * all hooks. By using an array of hook filenames, you can control -
trunk/system/config/image.php
r1639 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Image 4 * 5 * Driver name. 6 */ 3 7 $config['driver'] = 'ImageMagick'; 4 8 9 /** 10 * Driver parameters. 11 */ 5 12 $config['params'] = array 6 13 ( -
trunk/system/config/locale.php
r1331 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Core 4 * 3 5 * Default language locale name. 4 6 * @see http://php.net/locales -
trunk/system/config/log.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Core 4 * 3 5 * Message logging is a very useful debugging tool for production websites, as 4 6 * well as a useful tool during development to see what files are being loaded -
trunk/system/config/mimes.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Core 4 * 3 5 * A list of mime types. Our list is generally more complete and accurate than 4 6 * the operating system MIME list. -
trunk/system/config/pagination.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Pagination 4 * 3 5 * Views folder in which your pagination style templates reside. 4 6 */ -
trunk/system/config/payment.php
r1645 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Payment 4 * 3 5 * Settings related to the Payment library. 4 6 * This file has settings for each driver. -
trunk/system/config/profiler.php
r1325 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Profiler 4 * 3 5 * Show benchmarks. 4 6 */ -
trunk/system/config/routes.php
r1653 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Core 4 * 3 5 * Supported Shortcuts: 4 6 * :any - matches any non-blank string … … 7 9 8 10 /** 9 * Permitted URI characters. 11 * Permitted URI characters. Note that "?", "#", and "=" are URL characters, and do 12 * not to be added here. 10 13 */ 11 14 $config['_allowed'] = 'a-z 0-9~%.,:_-'; 12 15 13 16 /** 14 * Default route when no URI segments are found.17 * Default route to use when no URI segments are available. 15 18 */ 16 19 $config['_default'] = 'welcome'; -
trunk/system/config/session.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Session 4 * 3 5 * Session driver name. 4 6 */ -
trunk/system/config/sql_types.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Database 4 * 3 5 * SQL data types. If there are missing values, please report them: 4 6 * -
trunk/system/config/upload.php
r1657 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * Relative to your index file. 3 * @package Core 4 * 5 * This path is relative to your index file. Absolute paths are also supported. 4 6 */ 5 7 $config['upload_directory'] = 'upload'; 6 8 7 9 /** 8 * Remove spaces from filenames.10 * Remove spaces from uploaded filenames. 9 11 */ 10 12 $config['remove_spaces'] = TRUE; -
trunk/system/config/user_agents.php
r1522 r1668 1 1 <?php defined('SYSPATH') or die('No direct access allowed.'); 2 2 /** 3 * @package Core 4 * 3 5 * This file contains four arrays of user agent data. It is used by the 4 6 * User Agent library to help identify browser, platform, robot, and … … 8 10 $config['platform'] = array 9 11 ( 10 'windows nt 6.0' => 'Windows Longhorn',12 'windows nt 6.0' => 'Windows Vista', 11 13 'windows nt 5.2' => 'Windows 2003', 12 14 'windows nt 5.0' => 'Windows 2000', … … 22 24 'windows' => 'Unknown Windows OS', 23 25 'os x' => 'Mac OS X', 26 'intel mac' => 'Intel Mac', 24 27 'ppc mac' => 'Power PC Mac', 28 'ppc' => 'Macintosh', 25 29 'freebsd' => 'FreeBSD', 26 'ppc' => 'Macintosh',27 30 'linux' => 'Linux', 28 31 'debian' => 'Debian', -
trunk/system/config/view.php
r1526 r1668 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * @package Core 4 * 5 * Allowed non-php view types. Most file extensions are supported. 6 */ 3 7 $config['allowed_filetypes'] = array 4 8 ( -
trunk/system/libraries/Encrypt.php
r1522 r1668 14 14 class Encrypt_Core { 15 15 16 // mcrypt rand type16 // OS-dependant RAND type to use 17 17 protected static $rand; 18 19 // Configuration 20 protected $config; 21 22 /** 23 * Returns a singleton instance of Encrypt. 24 * 25 * @param array configuration options 26 * @return object 27 */ 28 public static function instance($config = NULL) 29 { 30 static $instance; 31 32 // Create the singleton 33 empty($instance) and $instance = new Encrypt((array) $config); 34 35 return $instance; 36 } 18 37 19 38 /**
