summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/config/memcached.php38
1 files changed, 31 insertions, 7 deletions
diff --git a/application/config/memcached.php b/application/config/memcached.php
index 1b34aa683..2b1a77266 100644
--- a/application/config/memcached.php
+++ b/application/config/memcached.php
@@ -1,22 +1,46 @@
-<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+/**
+ * CodeIgniter
+ *
+ * An open source application development framework for PHP 5.1.6 or newer
+ *
+ * NOTICE OF LICENSE
+ *
+ * Licensed under the Academic Free License version 3.0
+ *
+ * This source file is subject to the Academic Free License (AFL 3.0) that is
+ * bundled with this package in the files license_afl.txt / license_afl.rst.
+ * It is also available through the world wide web at this URL:
+ * http://opensource.org/licenses/AFL-3.0
+ * If you did not receive a copy of the license and are unable to obtain it
+ * through the world wide web, please send an email to
+ * licensing@ellislab.com so we can send you a copy immediately.
+ *
+ * @package CodeIgniter
+ * @author EllisLab Dev Team
+ * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/)
+ * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
+ * @link http://codeigniter.com
+ * @since Version 2.0
+ * @filesource
+ */
+
/*
| -------------------------------------------------------------------------
| Memcached settings
| -------------------------------------------------------------------------
-| To add another server, just add another set in the array.
+| Your Memcached servers can be specified below.
|
-| NOTE: Memcached doesn't seem to like hostnames. Try using an IP first.
-| -GWB
+| See: http://codeigniter.com/user_guide/libraries/caching.html#memcached
|
*/
-
$config = array(
'default' => array(
'hostname' => '127.0.0.1',
'port' => '11211',
'weight' => '1',
- ),
-);
+ ),
+);
/* End of file memcached.php */
/* Location: ./application/config/memcached.php */ \ No newline at end of file