Kaydet (Commit) e48a5fe4 authored tarafından Ali Yılmaz's avatar Ali Yılmaz 🎯

Database settings added.

üst b492a530
......@@ -12,3 +12,26 @@ To create new design patterns and frameworks, Mind offers great tools. Because i
You can download the Mind class from [GitHub page](https://github.com/aliyilmaz/Mind/archive/master.zip) or proceed to the next step by running the `composer require mind/mind` command from the command client.
----------
## Database settings
To use the class, you must define the database information in the `Mind.php` file or when calling the class.
#### Example
private $host = 'localhost';
private $dbname = 'mydb';
private $username = 'root';
private $password = '';
or
$conf = array(
'host' => 'localhost',
'dbname' => 'mydb',
'username' => 'root',
'password' => ''
);
$Mind = new Mind($conf);
----------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment