PHP Classes

File: config/config_memcache.php

Recommend this page to a friend!
  Classes of Peter  >  Storage Class  >  config/config_memcache.php  >  Download  
File: config/config_memcache.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Storage Class
Manipulate data in arrays and store it in files
Author: By
Last change:
Date: 6 years ago
Size: 399 bytes
 

Contents

Class file image Download
<?php
class config_memcache {
    public static function
get_connect() {

       
$connect = array();

       
//Memcache
       
$type = 'memcache';
       
$i = 0;
       
$connect[$type][$i]['host'] = '127.0.0.1';
       
$connect[$type][$i]['port'] = 11211;
       
$connect[$type][$i]['timeout'] = 1;

        return
$connect;
    }
}

For more information send a message to info at phpclasses dot org.