diff options
author | Prateek Saxena <prtksxna@gmail.com> | 2016-04-21 14:40:04 +0530 |
---|---|---|
committer | Prateek Saxena <prtksxna@gmail.com> | 2016-04-21 14:40:04 +0530 |
commit | 758e51d81d5edd769b279783aba2d7728eb0c76f (patch) | |
tree | de9f74c02b7543f2ed33c75f167213290efcaa1f /lib/config.template.php | |
parent | 76dedd3c22cf1613b9930fa0309793cea20cd1b2 (diff) |
Explicitly define $dbType for default MySQL config
The `helper.php` checks for the `dbType` property on the
`Config` class. Since nothing is defined it throws:
```
Fatal error: Access to undeclared static property:
Config::$dbType in …/Quill/lib/helpers.php on line 3
```
Diffstat (limited to 'lib/config.template.php')
-rw-r--r-- | lib/config.template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config.template.php b/lib/config.template.php index ee822bb..87ce75b 100644 --- a/lib/config.template.php +++ b/lib/config.template.php @@ -5,6 +5,7 @@ class Config { public static $gaid = ''; // MySQL (default) + public static $dbType = 'mysql'; public static $dbHost = '127.0.0.1'; public static $dbName = 'quill'; public static $dbUsername = 'quill'; |