prepared memcached config

This commit is contained in:
HB9HIL
2026-02-01 20:16:04 +01:00
parent ac608b5fd0
commit a6ceb38ebe
2 changed files with 21 additions and 0 deletions

2
.gitignore vendored
View File

@@ -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

View 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',
),
);