Esempio n. 1
0
 private static function parse()
 {
     if (self::$parsed) {
         return self::$parsed;
     }
     $info = @file_get_contents(self::$filepath);
     if (!$info) {
         return false;
     }
     self::$parsed = json_decode($info, true);
     return self::$parsed;
 }
Esempio n. 2
0
function print_git_revision()
{
    return ScmStatus::format('rev. %r (%F) ·', array('format_date' => "d-M Y g:i A T"));
}