From 8afa1cb5bb01590e0388f4cf361c85768a1fceba Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 16 Feb 2017 14:48:47 -0500 Subject: [PATCH] Class names from classes themselves in defaults --- lib/Conf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Conf.php b/lib/Conf.php index 382324d0..c9d91947 100644 --- a/lib/Conf.php +++ b/lib/Conf.php @@ -5,7 +5,7 @@ namespace JKingWeb\NewsSync; class Conf { public $lang = "en"; - public $dbDriver = NS_BASE."Db\\DriverSQLite3"; + public $dbDriver = Db\DriverSQLite3::class; public $dbSQLite3File = BASE."newssync.db"; public $dbSQLite3Key = ""; public $dbSQLite3AutoUpd = true; @@ -23,7 +23,7 @@ class Conf { public $dbMySQLDb = "newssync"; public $dbMySQLAutoUpd = false; - public $userDriver = NS_BASE."User\\DriverInternal"; + public $userDriver = User\DriverInternal::class; public $userAuthPreferHTTP = false; public $userComposeNames = true;