|
@@ -24,29 +24,29 @@ return array(
|
|
|
| The default character encoding used by your application.
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'encoding' => 'UTF-8',
|
|
|
-
|
|
|
+ 'encoding' => 'UTF-8',
|
|
|
+
|
|
|
/*
|
|
|
|------------------------------------------------------------------------
|
|
|
| The default timezone of your application.
|
|
|
| Supported timezones list: http://www.php.net/manual/en/timezones.php
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'timezone' => 'UTC',
|
|
|
+ 'timezone' => 'UTC',
|
|
|
|
|
|
/*
|
|
|
|--------------------------------------------------------------------------
|
|
|
| Is it regular HTTP or secure HTTPS
|
|
|
|--------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'ssl' => false,
|
|
|
-
|
|
|
+ 'ssl' => false,
|
|
|
+
|
|
|
/*
|
|
|
|------------------------------------------------------------------------
|
|
|
| Application meta
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'app' => array(
|
|
|
+ 'app' => array(
|
|
|
'name' => 'Vanilla',
|
|
|
'key' => 'some5secret5key5here', // application key
|
|
|
'default_controller' => 'hello', // the name of the fallback controller
|
|
@@ -61,15 +61,15 @@ return array(
|
|
|
| Production environment settings
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'production' => array(
|
|
|
+ 'production' => array(
|
|
|
'db' => array(
|
|
|
- 'driver' => 'mysql',
|
|
|
- 'host' => '192.168.100.102',
|
|
|
+ 'driver' => 'mysql',
|
|
|
+ 'host' => '127.0.0.1',
|
|
|
'database' => 'hello_world',
|
|
|
'username' => 'benchmarkdbuser',
|
|
|
'password' => 'benchmarkdbpass',
|
|
|
- 'charset' => 'utf8',
|
|
|
- 'port' => '3306',
|
|
|
+ 'charset' => 'utf8',
|
|
|
+ 'port' => '3306',
|
|
|
// 'unix_socket' => '',
|
|
|
),
|
|
|
),
|
|
@@ -79,7 +79,7 @@ return array(
|
|
|
| Bootstrapping and dependencies to php-version and extensions
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'bootstrap' => array(
|
|
|
+ 'bootstrap' => array(
|
|
|
'local_temp_directory' => '/tmp/'
|
|
|
),
|
|
|
|
|
@@ -88,10 +88,10 @@ return array(
|
|
|
| Settings for the error handling behavior
|
|
|
|------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'error' => array(
|
|
|
+ 'error' => array(
|
|
|
'ignore_levels' => array(E_USER_DEPRECATED),
|
|
|
- 'debug_info' => false, // true = if developing - false = if production
|
|
|
- 'log' => true,
|
|
|
+ 'debug_info' => false, // true = if developing - false = if production
|
|
|
+ 'log' => true,
|
|
|
),
|
|
|
|
|
|
/*
|
|
@@ -99,41 +99,41 @@ return array(
|
|
|
| Session settings
|
|
|
|--------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'session' => array(
|
|
|
+ 'session' => array(
|
|
|
|
|
|
- // Session storage 'cookie', 'file', 'pdo', 'memcached', 'apc', 'redis', 'dba', 'wincache', 'memory'
|
|
|
- 'storage' => null,
|
|
|
+ // Session storage 'cookie', 'file', 'pdo', 'memcached', 'apc', 'redis', 'dba', 'wincache', 'memory'
|
|
|
+ 'storage' => '',
|
|
|
|
|
|
- // If using file storage - default is null
|
|
|
- 'storage_path' => 'app/Vanilla/_session/',
|
|
|
+ // If using file storage - default is null
|
|
|
+ 'storage_path' => 'app/Vanilla/_session/',
|
|
|
|
|
|
- // If using the PDO (database) session storage
|
|
|
- 'database' => array(
|
|
|
- //'driver' => 'sqlite',
|
|
|
- //'database' => 'app/Vanilla/_session/session.db',
|
|
|
- ),
|
|
|
+ // If using the PDO (database) session storage
|
|
|
+ 'database' => array(
|
|
|
+ //'driver' => 'sqlite',
|
|
|
+ //'database' => 'app/Vanilla/_session/session.db',
|
|
|
+ ),
|
|
|
|
|
|
- // Garbage collection has a 2% chance of occurring for any given request to
|
|
|
- // the application. Feel free to tune this to your requirements.
|
|
|
- 'garbage_collection' => array(2, 100),
|
|
|
+ // Garbage collection has a 2% chance of occurring for any given request to
|
|
|
+ // the application. Feel free to tune this to your requirements.
|
|
|
+ 'garbage_collection' => array(2, 100),
|
|
|
|
|
|
- // Session lifetime number of minutes
|
|
|
- 'lifetime' => 60,
|
|
|
+ // Session lifetime number of minutes
|
|
|
+ 'lifetime' => 60,
|
|
|
|
|
|
- // Session expiration on web browser close
|
|
|
- 'expire_on_close' => false,
|
|
|
+ // Session expiration on web browser close
|
|
|
+ 'expire_on_close' => false,
|
|
|
|
|
|
- // Session cookie name
|
|
|
- 'cookie' => 'pimf_session',
|
|
|
+ // Session cookie name
|
|
|
+ 'cookie' => 'pimf_session',
|
|
|
|
|
|
- // Session cookie path
|
|
|
- 'path' => '/',
|
|
|
+ // Session cookie path
|
|
|
+ 'path' => '/',
|
|
|
|
|
|
- // Domain for which the session cookie is available.
|
|
|
- 'domain' => null,
|
|
|
+ // Domain for which the session cookie is available.
|
|
|
+ 'domain' => null,
|
|
|
|
|
|
- // If the cookie should only be sent over HTTPS.
|
|
|
- 'secure' => false,
|
|
|
+ // If the cookie should only be sent over HTTPS.
|
|
|
+ 'secure' => false,
|
|
|
),
|
|
|
|
|
|
/*
|
|
@@ -141,27 +141,27 @@ return array(
|
|
|
| Cache settings
|
|
|
|--------------------------------------------------------------------------
|
|
|
*/
|
|
|
- 'cache' => array(
|
|
|
+ 'cache' => array(
|
|
|
|
|
|
- // Cache storage 'pdo', 'file', 'memcached', 'apc', 'redis', 'dba', 'wincache', 'memory'
|
|
|
- 'storage' => null,
|
|
|
+ // Cache storage 'pdo', 'file', 'memcached', 'apc', 'redis', 'dba', 'wincache', 'memory'
|
|
|
+ 'storage' => '',
|
|
|
|
|
|
- // If using file storage - default is null
|
|
|
- 'storage_path' => 'app/Vanilla/_cache/',
|
|
|
+ // If using file storage - default is null
|
|
|
+ 'storage_path' => 'app/Vanilla/_cache/',
|
|
|
|
|
|
- // If using the PDO (database) cache storage
|
|
|
- 'database' => array(
|
|
|
- //'driver' => 'sqlite',
|
|
|
- //'database' => 'app/Vanilla/_cache/cache.db',
|
|
|
- ),
|
|
|
+ // If using the PDO (database) cache storage
|
|
|
+ 'database' => array(
|
|
|
+ //'driver' => 'sqlite',
|
|
|
+ //'database' => 'app/Vanilla/_cache/cache.db',
|
|
|
+ ),
|
|
|
|
|
|
- // If using Memcached and APC to prevent collisions with other applications on the server.
|
|
|
- 'key' => 'pimfmaster',
|
|
|
+ // If using Memcached and APC to prevent collisions with other applications on the server.
|
|
|
+ 'key' => 'pimfmaster',
|
|
|
|
|
|
- // Memcached servers - for more check out: http://memcached.org
|
|
|
- 'memcached' => array(
|
|
|
- 'servers' => array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
|
|
|
- ),
|
|
|
- ),
|
|
|
+ // Memcached servers - for more check out: http://memcached.org
|
|
|
+ 'memcached' => array(
|
|
|
+ 'servers' => array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
|
|
|
);
|