|
@@ -0,0 +1,66 @@
|
|
|
+<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
+
|
|
|
+| -------------------------------------------------------------------
|
|
|
+| DATABASE CONNECTIVITY SETTINGS
|
|
|
+| -------------------------------------------------------------------
|
|
|
+| This file will contain the settings needed to access your database.
|
|
|
+|
|
|
|
+| For complete instructions please consult the 'Database Connection'
|
|
|
+| page of the User Guide.
|
|
|
+|
|
|
|
+| -------------------------------------------------------------------
|
|
|
+| EXPLANATION OF VARIABLES
|
|
|
+| -------------------------------------------------------------------
|
|
|
+|
|
|
|
+| 'connectionString' Hostname, database, port and database type for
|
|
|
+| the connection. Driver example: mysql. Currently supported:
|
|
|
+| mysql, pgsql, mssql, sqlite, oci
|
|
|
+| 'username' The username used to connect to the database
|
|
|
+| 'password' The password used to connect to the database
|
|
|
+| 'tablePrefix' You can add an optional prefix, which will be added
|
|
|
+| to the table name when using the Active Record class
|
|
|
+|
|
|
|
+*/
|
|
|
+return array(
|
|
|
+ 'components' => array(
|
|
|
+ 'db' => array(
|
|
|
+ 'connectionString' => 'pgsql:host=postgres;port=5432;user=postgres;password=POSTGRES_PASSWORD;dbname=postgres;',
|
|
|
+ 'emulatePrepare' => true,
|
|
|
+ 'username' => 'postgres',
|
|
|
+ 'password' => 'POSTGRES_PASSWORD',
|
|
|
+ 'charset' => 'utf8',
|
|
|
+ 'tablePrefix' => 'lime_',
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 'urlManager' => array(
|
|
|
+ 'urlFormat' => 'get',
|
|
|
+ 'rules' => array(
|
|
|
+
|
|
|
+ ),
|
|
|
+ 'showScriptName' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 'config'=>array(
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 'debug'=>0,
|
|
|
+ 'debugsql'=>0,
|
|
|
+
|
|
|
+ )
|
|
|
+);
|
|
|
+
|