From 758e51d81d5edd769b279783aba2d7728eb0c76f Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Thu, 21 Apr 2016 14:40:04 +0530 Subject: Explicitly define $dbType for default MySQL config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ``` --- lib/config.template.php | 1 + 1 file changed, 1 insertion(+) 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'; -- cgit v1.2.3