Skip to content

Commit

Permalink
Add a function file for our steamcmd usage
Browse files Browse the repository at this point in the history
Related to the work for #169!
  • Loading branch information
johndrinkwater committed May 13, 2015
1 parent e1647d9 commit afb158c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions includes/functions_steamcmd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
include_once('paths.php');

/* Small utility function, add creative description
Fetch and return icon from steamcmd
Unsure on the overlap between this and functions_steam
*/
function getAppIcon( $appid ) {

global $steamcmdPath;


// this returns the hash ‘e3f595a92552da3d664ad00277fad2107345f743’ for appid 440
return $icon;
}
1 change: 1 addition & 0 deletions includes/paths.default
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ $eventXMLPath = "http://cenobite.swordfischer.com/"; // Current XML source
// Mumble Server
$mumbleServer = 'mumble.steamlug.org'; // Not really a path, but eh

$steamcmdPath = '/usr/bin/steamcmd'; // Location to our installed `steamcmd`

0 comments on commit afb158c

Please sign in to comment.