From 078c4503a86f13517ee7284764f6426b7388fddf Mon Sep 17 00:00:00 2001 From: Aldarien Date: Thu, 25 Mar 2021 21:11:03 -0300 Subject: [PATCH] Config files --- config/app.php | 10 ++++++++++ config/databases.php | 17 +++++++++++++++++ config/incoviba.php | 6 ++++++ config/locations.php | 15 +++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 config/app.php create mode 100644 config/databases.php create mode 100644 config/incoviba.php create mode 100644 config/locations.php diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..ce713ab --- /dev/null +++ b/config/app.php @@ -0,0 +1,10 @@ + 'America/Santiago', + 'locale' => 'es', + 'database' => 'mysql', + 'debug' => false, + 'benchmark' => false, + 'login_hours' => 5*24 +]; +?> \ No newline at end of file diff --git a/config/databases.php b/config/databases.php new file mode 100644 index 0000000..b74a9b1 --- /dev/null +++ b/config/databases.php @@ -0,0 +1,17 @@ + [ + 'host' => 'db', + //'port' => 3306, + 'database' => 'incoviba', + 'username' => 'incoviba', + 'password' => '5GQYFvRjVw2A4KcD' + ], + 'mysql_copy' => [ + 'host' => 'localhost', + 'database' => 'incoviba3', + 'username' => 'incoviba', + 'password' => '5GQYFvRjVw2A4KcD' + ] +] +?> diff --git a/config/incoviba.php b/config/incoviba.php new file mode 100644 index 0000000..d21d9e8 --- /dev/null +++ b/config/incoviba.php @@ -0,0 +1,6 @@ + [ + 'caducidad' => 30 + ] +]; diff --git a/config/locations.php b/config/locations.php new file mode 100644 index 0000000..49f1082 --- /dev/null +++ b/config/locations.php @@ -0,0 +1,15 @@ + root(), + 'cache' => '{locations.base}/cache', + 'public' => '{locations.base}/public', + 'resources' => '{locations.base}/resources', + 'views' => '{locations.resources}/views', + 'src' => '{locations.base}/src', + //'languages' => '{locations.resources}/languages' + 'app' => '{locations.base}/app', + 'controllers' => '{locations.app}/Controller', + 'money' => 'provm.cl/optimus/money', + 'api' => '192.168.1.100/intranet/api' +]; +?>