Added live-info-v2 and station metadata api calls

This commit is contained in:
Duncan Sommerville 2014-10-24 15:11:27 -04:00
parent 0c538ff1ae
commit 598b18b65a
5 changed files with 669 additions and 221 deletions

View file

@ -80,4 +80,17 @@ class Application_Common_OsPath{
return $baseUrl;
}
public static function formatDirectoryWithDirectorySeparators($dir)
{
if ($dir[0] != "/") {
$dir = "/".$dir;
}
if ($dir[strlen($dir) -1] != "/") {
$dir = $dir."/";
}
return $dir;
}
}