summaryrefslogtreecommitdiff
path: root/lib/config.template.php
diff options
context:
space:
mode:
authorPrateek Saxena <prtksxna@gmail.com>2016-04-21 14:40:04 +0530
committerPrateek Saxena <prtksxna@gmail.com>2016-04-21 14:40:04 +0530
commit758e51d81d5edd769b279783aba2d7728eb0c76f (patch)
treede9f74c02b7543f2ed33c75f167213290efcaa1f /lib/config.template.php
parent76dedd3c22cf1613b9930fa0309793cea20cd1b2 (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.php1
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';