PHP Classes

File: Application/Setting/Config.default.php

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Setting/Config.default.php   Download  
File: Application/Setting/Config.default.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change: Update JS & CSS for minifying
Date: 7 years ago
Size: 1,329 bytes
 

Contents

Class file image Download
<?php

$_CONF
['db'] = array(
   
'host' => 'localhost',
   
'name' => '',
   
'user' => '',
   
'pwd' => '',
   
'port' => 3306,
   
'prefix' => 'tbl_',
   
'adapter' => 'mysqli',
   
'charset' => 'utf8',
   
'type' => 'mysql',
);
$_CONF['api_versions'] = array(
   
'default'
);
$_CONF['system'] = array(
   
'data_response' => 'JSON',
   
'format_time' => 'l jS \of F Y h:i:s A',
   
'base_path' => '/',
   
'session_prefix' => 'legophp_',
   
'admin_path' => 'admincp',
   
'language' => 'en',
);
$_CONF['apps'] = array(
   
'version' => '1.00.00000000',
   
'name' => 'LEGO-BEAN'
);
$_CONF['cookie'] = array(
   
'prefix' => 'legophp_',
   
'expried' => 30,
   
'path' => '/',
   
'domain' => '',
);
$_CONF['cache'] = array(
   
'storage' => 'file',//redis
   
'path' => APP_CACHE_PATH,
);
$_CONF['redis'] = array(
   
'host' => '127.0.0.1',
   
'port' => 6379,
   
'schema' => 'tcp'
);
$_CONF['enviroment'] = 'development';//production
$_CONF['security'] = array(
   
'random' => 'abqwertyuioplkjhgfdsaxcvbnm876543210'
);
$_CONF['template'] = array(
   
'frontend' => 'Default',
   
'backend' => 'Default',
   
'prefix' => ".tpl",
);
$_CONF['minify'] = array(
   
'css' => false,
   
'js' => false,
   
'file_size' => 256, //kb
);
/*$_CONF['gzip'] = array(
    'css' => false,
    'js' => false,
    'template' => false,
    'level' => 3
);*/
?>