Configuration entry 'ctracker_debug' renamed to 'ctracker_debug_enabled' to make...
authorRoland Haeder <roland@mxchange.org>
Tue, 5 Oct 2010 11:43:54 +0000 (11:43 +0000)
committerRoland Haeder <roland@mxchange.org>
Tue, 5 Oct 2010 11:43:54 +0000 (11:43 +0000)
config/db_config.php.dist
libs/lib_general.php

index e3c93b3a6f68dc2b364676f06d84296c3df88f58..f17b2ca96a21a126262c512d31db6a5f3f4c8116 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-// Host name
-$GLOBALS['ctracker_host'] = 'localhost';
+// Host name (e.g. localhost)
+$GLOBALS['ctracker_host'] = '';
 
-// Database name
-$GLOBALS['ctracker_dbname'] = 'ctracker';
+// Database name (e.g. ctracker)
+$GLOBALS['ctracker_dbname'] = '';
 
-// User
-$GLOBALS['ctracker_user'] = 'ctracker';
+// User (e.g. ctracker)
+$GLOBALS['ctracker_user'] = '';
 
-// Password
+// Password (e.g. secret)
 $GLOBALS['ctracker_password'] = '';
 
 // Debugging should be disabled by default
-// $GLOBALS['ctracker_debug'] = true;
+$GLOBALS['ctracker_debug_enabled'] = false;
 
 // Email recipient for all emails
 $GLOBALS['ctracker_email'] = 'you@domain.invalid';
index 0738f41cd69a844564de659423f0b04d8b85c533..6e7fc62ea8ef653a296d0cdaae4a2dd616bc03c6 100644 (file)
@@ -73,10 +73,10 @@ if (!function_exists('implode_secure')) {
        } // END - function
 } // END - if
 
-// Getter for ctracker_debug
+// Getter for ctracker_debug_enabled
 function isCrackerTrackerDebug () {
        // Is it set?
-       return ((isset($GLOBALS['ctracker_debug'])) && ($GLOBALS['ctracker_debug'] === true));
+       return ((isset($GLOBALS['ctracker_debug_enabled'])) && ($GLOBALS['ctracker_debug_enabled'] === true));
 }
 
 // Determines the real remote address