simple-mvc-framework/v2 — pull request #90 by QsmaPL (2014-11-18 19:08:28+00:00)
Title: Fixes and language class

Hi!

I made small changes:
* config.php file was renamed config.example.php,
because the root is .gitignore that ignores the config.php file transfer during commit.

For dev: It is only one note (!) To make sure everything was ok, create a new config.php file and leave config.example.php

When problems with this run

git rm --cached app / core / config.php

I added my language class is a little simpler, use is similar,
in constuctor when calling in as the second parameter, you can specify the language, eg:

$this->language->load ('welcome', 'en');

then load file from:

app/language/pl/welcome.php