From e4b2f3a9b662ab30b67768fa22769cc65016eefc Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Feb 2017 18:56:29 +0200 Subject: [PATCH] config --- app/config/config.ini | 12 ------------ app/config/config.php | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) delete mode 100755 app/config/config.ini create mode 100644 app/config/config.php diff --git a/app/config/config.ini b/app/config/config.ini deleted file mode 100755 index a0ca7e0..0000000 --- a/app/config/config.ini +++ /dev/null @@ -1,12 +0,0 @@ -[database] -adapter = Postgresql -host = "localhost" -username = "postgres" -password = "5cZw3rPC" -dbname = "analytics" - -[phalcon] -controllersDir = "../app/library/App/Controllers/" -modelsDir = "../app/library/App/Model/" -viewsDir = "../app/views/" -baseUri = "/store/" diff --git a/app/config/config.php b/app/config/config.php new file mode 100644 index 0000000..b34bae3 --- /dev/null +++ b/app/config/config.php @@ -0,0 +1,22 @@ + [ + + // Change to your own configuration + 'adapter' => 'Postgresql', + 'host' => 'localhost', + 'username' => 'postgres', + 'password' => '5cZw3rPC', + 'dbname' => 'analytics', + ], + + 'phalcon' => [ + + // Change to your own configuration + 'controllersDir' => "../app/library/App/Controllers/", + 'modelsDir' => "../app/library/App/Controllers/", + 'viewsDir' => "../app/views/", + 'baseUri' => "/store/" + ] + ]; +?> -- libgit2 0.21.4