Changeset 410
- Timestamp:
- Feb 9, 2009, 7:29:09 PM (16 years ago)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/process_log.php
r404 r410 45 45 $Database->query('UPDATE `debug` SET Log="'.$Log.'" WHERE Id='.$InsertId); 46 46 //echo($Database->error); 47 $Log = addslashes(file_get_contents($ErrOutLogFile));48 $Database->query('UPDATE `debug` SET ErrorLog="'.$Log.'" WHERE Id='.$InsertId);49 //echo($Database->error);50 47 $Log = addslashes(file_get_contents($MangosDbErrorsLogFile)); 51 48 $Database->query('UPDATE `debug` SET DbErrors="'.$Log.'" WHERE Id='.$InsertId); … … 61 58 $Database->query('UPDATE `debug` SET Configuration="'.implode("\n", $Configuration).'" WHERE Id='.$InsertId); 62 59 60 //echo($Database->error); 61 $Log = addslashes(file_get_contents($ErrOutLogFile)); 62 $Database->query('UPDATE `debug` SET ErrorLog="'.$Log.'" WHERE Id='.$InsertId); 63 63 64 // Clear log files 64 65 unlink($MangosLogFile); -
guildy.php
r404 r410 78 78 while($Member = $Result->fetch_array()) 79 79 { 80 if(array_key_exists($Member['rank']+1, $GuildRanks)) $GuildRank = $GuildRanks[$Member['rank']+1]['rname']; else $GuildRank = ' '; 80 if(array_key_exists($Member['rank'] + 1, $GuildRanks)) 81 $GuildRank = $GuildRanks[$Member['rank'] + 1]['rname']; 82 else $GuildRank = ' '; 81 83 // $DataParts = explode(' ', $Member['data']); 82 84 // $Member['level'] .= ','.$DataParts[34]; -
registrace/check_registration.php
r403 r410 2 2 include('../global.php'); 3 3 4 $Database->select_db( 'realmd');4 $Database->select_db($Config['Mangos']['DatabaseRealmd']); 5 5 $DbResult = $Database->query('SELECT COUNT(*) FROM account'); 6 6 $Row = $DbResult->fetch_array();
Note:
See TracChangeset
for help on using the changeset viewer.