- Timestamp:
- 01/25/08 09:00:29 (14 years ago)
- Location:
- dev
- Files:
-
- 1 added
- 9 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/README.txt
r213 r317 1 This is the EDK - EVE Development Network Killboard v1. 3 - Tigerduck MemorialEdition1 This is the EDK - EVE Development Network Killboard v1.4 - Trinity Edition 2 2 3 3 Check out the EVE-Development Network for support, -
dev/common/admin/option_acache.php
r254 r317 23 23 function showLoad() 24 24 { 25 $load = file_get_contents('/proc/loadavg'); 26 $array = explode(' ', $load); 27 return (float)$array[0]; 25 $load = @file_get_contents('/proc/loadavg'); 26 if (false === $load) 27 { 28 return "Your web host does not allow access to the load metric. Reinforced mode will not work."; 29 } 30 else 31 { 32 $array = explode(' ', $load); 33 return (float)$array[0]; 34 } 28 35 } 29 36 } -
dev/common/includes/autoupgrade.php
r314 r317 12 12 define(CURRENT_DB_UPDATE,config::get("DBUpdate")); 13 13 //Update version of this autoupgrade.php 14 define(LASTEST_DB_UPDATE,"00 3");14 define(LASTEST_DB_UPDATE,"004"); 15 15 16 16 function updateDB(){ … … 92 92 } 93 93 94 function update004(){ 95 // new trinity ships are wrong saved as T1 shipes 96 if (CURRENT_DB_UPDATE < "004" ) 97 { 98 $qry = new DBQuery(); 99 100 $query = "UPDATE kb3_ships 101 INNER JOIN kb3_ship_classes ON scl_id = shp_class 102 SET shp_techlevel = 2 103 WHERE scl_class IN ('Electronic Attack Ship','Heavy Interdictor','Black Ops','Marauder','Heavy Interdictor','Jump Freighter') 104 AND shp_techlevel = 1;"; 105 $qry->execute($query); 106 config::set("DBUpdate","004"); 107 } 108 } 109 94 110 function update_slot_of_group($id,$oldSlot = 0 ,$newSlot){ 95 111 $qry = new DBQuery(); -
dev/common/includes/class.cache.php
r254 r317 10 10 } 11 11 12 $load = file_get_contents('/proc/loadavg'); 12 $load = @file_get_contents('/proc/loadavg'); 13 if (false === $load) 14 { 15 return false; 16 } 13 17 $array = explode(' ', $load); 14 18 if ((float)$array[0] > (float)config::get('reinforced_threshold')) -
dev/common/includes/class.pilot.php
r254 r317 35 35 { 36 36 $this->execQuery(); 37 return '?a=thumb&id='.$this->row_['plt_externalid'].'&size='.$size; 37 /* charID api readout - in work, feel free to test 38 if ($this->row_['plt_externalid'] == 0) && config::get('apiCharId'){ 39 require_once("class.api.php"); 40 $api = new Api(); 41 $id = $api->getCharId(plt_name); 42 if ($id > 0){ 43 setCharacterID($id); 44 } 45 return '?a=thumb&id='.$id.'&size='.$size; 46 47 }*/ 48 return '?a=thumb&id='.$this->row_['plt_externalid'].'&size='.$size; 38 49 } 39 50 40 51 function execQuery() 41 52 { -
dev/common/includes/globals.php
r316 r317 1 1 <?php 2 2 // current subversion revision 3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 31 6$', $match);3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 317 $', $match); 4 4 define('SVN_REV', $match[1]); 5 5 -
dev/common/post.php
r314 r317 87 87 $mailer->AddReplyTo("no_reply@".config::get('post_mailhost'), "No-Reply"); 88 88 $mailer->Sender = "mailer@".config::get('post_mailhost'); 89 $mailer->Body = $ kill->getRawMail();89 $mailer->Body = $_POST['killmail']; 90 90 $mailer->AddAddress(config::get('post_mailhost')); 91 91 $mailer->Send(); -
dev/mods/history/history.xml
r314 r317 2 2 <history> 3 3 <changeset> 4 <rev>314</rev> 4 <rev>317</rev> 5 <author>ralle030583</author> 6 <date>24.01.2008</date> 7 <comment> 8 <type>ADD</type> 9 <text> 10 EVE-Api class (beta), see pilot getCharId(), only for testing, its atm commented out 11 </text> 12 </comment> 13 <comment> 14 <type>FIX</type> 15 <text> 16 Ticket #74 pilot portrait issues with img url 17 </text> 18 </comment> 19 <comment> 20 <type>FIX</type> 21 <text> 22 Ticker #77 small fix in igb template with kb_host 23 </text> 24 </comment> 25 <comment> 26 <type>FIX</type> 27 <text> 28 DB Update004: trinity ships had wrong tech level 29 </text> 30 </comment> 31 <comment> 32 <type>FIX</type> 33 <text> 34 Ticket #75 Reinforced mode generated errors if /proc/loadavg cannot be read 35 </text> 36 </comment> 37 <comment> 38 <type>FIX</type> 39 <text> 40 Mailer sends now the killmail and not the msg that mail is classified, when classification for x hours is enabled. 41 </text> 42 </comment> 43 </changeset> 44 <changeset> 45 <rev>316</rev> 46 <author>ralle030583</author> 47 <date>23.01.2008</date> 48 <comment> 49 <type>FIX</type> 50 <text> 51 Ticket #73 Typo in portrait_grab + reformat 52 </text> 53 </comment> 54 <comment> 55 <type>FIX</type> 56 <text> 57 Ticket #72 KB_HOST wasn't available in $smarty by default 58 </text> 59 </comment> 60 </changeset> 61 <changeset> 62 <rev>314-315</rev> 5 63 <author>ralle030583</author> 6 64 <date>21.01.2008</date> -
dev/templates/igb.tpl
r316 r317 1 <a href="{ kb_host}/?a=igb_home">Home</a> | <a href="{kb_host}/?a=post_igb">Post killmail</a> | <a href="{kb_host}/?a=portrait_grab">Update portrait</a>1 <a href="{$kb_host}/?a=igb_home">Home</a> | <a href="{$kb_host}/?a=post_igb">Post killmail</a> | <a href="{$kb_host}/?a=portrait_grab">Update portrait</a>