* 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';
} // 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