From 986051529adacc0af67b94d0de8a8b7e082c5ef9 Mon Sep 17 00:00:00 2001 From: Josh North Date: Tue, 24 Feb 2015 11:39:31 -0500 Subject: [PATCH] updated sample config file --- config.inc.php.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.inc.php.example b/config.inc.php.example index 038d0f6..4114c09 100755 --- a/config.inc.php.example +++ b/config.inc.php.example @@ -13,9 +13,12 @@ $yaptc_min_password = '8'; // Minimum password length + //********** NO NEED TO EDIT PAST HERE **********// $yaptc_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // Advanced PDO handling $yaptc_db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); // Advanced PDO handling +$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // Advanced PDO handling +$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); // Advanced PDO handling $_SESSION['yaptc_dir'] = $yaptc_dirpath; // Put absolute directory path in session $_SESSION['yaptc_url'] = $yaptc_webpath; // Put absolute url path in session $yaptc_inc = $yaptc_dirpath . 'includes/'; // Concatenate an includes directory path