mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
prepared memcached config
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,9 +1,11 @@
|
||||
/application/config/database.php
|
||||
/application/config/config.php
|
||||
/application/config/redis.php
|
||||
/application/config/memcached.php
|
||||
/application/config/*/config.php
|
||||
/application/config/*/database.php
|
||||
/application/config/*/redis.php
|
||||
/application/config/*/memcached.php
|
||||
/application/logs/*
|
||||
/application/cache/*
|
||||
/backup/*.adi
|
||||
|
||||
19
application/config/memcached.sample.php
Normal file
19
application/config/memcached.sample.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Memcached settings
|
||||
| -------------------------------------------------------------------------
|
||||
| Copy this sample file to memcached.php and define one or more servers
|
||||
|
|
||||
| See: https://codeigniter.com/userguide3/libraries/caching.html#memcached-caching
|
||||
|
|
||||
*/
|
||||
$config = array(
|
||||
'default' => array(
|
||||
'hostname' => '127.0.0.1',
|
||||
'port' => '11211',
|
||||
'weight' => '1',
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user