// Is there a link up?
if (!isCrackerTrackerDatabaseLinkUp()) {
// Abort silently here
- return false;
+ return FALSE;
} // END - if
// Is it found?
$SQL = 'INSERT INTO `' . $table . '` (`' . implode('`,`', array_keys($rowData)) . '`) VALUES(' . implode_secure($rowData) . ')';
// Reset insert id
- $GLOBALS['ctracker_last_insert_id'] = false;
+ $GLOBALS['ctracker_last_insert_id'] = FALSE;
// Run it
runCrackerTrackerSql($SQL, __FUNCTION__, __LINE__);
// Checks wether a table was found
function isCrackerTrackerTableCreated ($table) {
// Default is not found
- $found = false;
+ $found = FALSE;
// Run the query
$result = runCrackerTrackerSql('SHOW TABLES', __FUNCTION__, __LINE__);
// Is the table there?
if ($tab == $table) {
// Okay, found. So abort
- $found = true;
+ $found = TRUE;
break;
} // END - if
} // END - if
// Skip this silently if we have not config
if (!isCrackerTrackerDatabaseLinkUp()) {
// Skip this step silently, all is not suspicious
- return false;
+ return FALSE;
} // END - if
// We only need the very last attempt to get!
$found = (mysql_num_rows($result) == 1);
// And again?
- if ($found === true) {
+ if ($found === TRUE) {
// Cache the entry
$GLOBALS['ctracker_last_suspicious_entry'] = mysql_fetch_array($result);
} // END - if
$found = (mysql_num_rows($result) == 1);
// And again?
- if ($found === true) {
+ if ($found === TRUE) {
// Cache the ticket data
$GLOBALS['ctracker_last_ticket'] = mysql_fetch_array($result);
} // END - if