diff options
Diffstat (limited to 'pts-core/functions/pts.php')
-rw-r--r-- | pts-core/functions/pts.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pts-core/functions/pts.php b/pts-core/functions/pts.php index 0a67bae..ade01e1 100644 --- a/pts-core/functions/pts.php +++ b/pts-core/functions/pts.php @@ -25,4 +25,16 @@ define("PTS_VERSION", "1.6.0b2"); define("PTS_CODENAME", "TYDAL"); define("PTS_TYPE", "DESKTOP"); +function pts_codename($full_string = false) +{ + $codename = PTS_CODENAME; + + if($full_string) + { + $codename = "PhoronixTestSuite/" . ucwords(strtolower($codename)); + } + + return $codename; +} + ?> |