Added live-info-v2 and station metadata api calls
This commit is contained in:
parent
0c538ff1ae
commit
598b18b65a
5 changed files with 669 additions and 221 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue