0) { $REDIS_ROOT_PASSWORD = $_REDIS_PASS; } } $config = array( 'default_controller' => 'Welcome', 'default_action' => 'Index', 'production' => true, 'default_layout' => 'layout', // 'timezone' => 'Europe/Amsterdam', // 'auth' => array( // 'username' => 'admin', // 'password' => password_hash('admin', PASSWORD_DEFAULT) // ), 'log' => array( 'driver' => 'file', 'threshold' => 0, /* 0: Disable Logging 1: Error 2: Notice 3: Info 4: Warning 5: Debug */ 'file' => array( 'directory' => 'logs' ) ), 'database' => array( 'driver' => 'redis', 'mysql' => array( 'host' => 'localhost', 'username' => 'root', 'password' => 'root' ), 'redis' => array( array( 'host' => 'localhost', 'port' => '6379', 'password' => $REDIS_ROOT_PASSWORD, 'database' => 0, 'max_databases' => 16, /* Manual configuration of max databases for Redis < 2.6 */ 'stats' => array( 'enable' => 1, 'database' => 0, ), 'dbNames' => array( /* Name databases. key should be database id and value is the name */ ), ), ), ), 'session' => array( 'lifetime' => 7200, 'gc_probability' => 2, 'name' => 'phpredminsession' ), 'gearman' => array( 'host' => '127.0.0.1', 'port' => 4730 ), 'terminal' => array( 'enable' => true, 'history' => 200 ) ); return $config;