SERVERPATH(), $vars);} /** * Read Git Information * * @return array Returns Array with Git Information */ public static function getGitInfo(){ \LIB\lib_git::php(); $result = array('git_project' => '', 'git_system' => ''); try{ $repo = \GIT\Git::open(\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH)); $result['git_project'] = ''.$repo->run('rev-parse --short HEAD').'
'; $result['git_project'] .= $repo->run('log -1 --pretty=%B'); } catch (\Exception $ex) { $result['git_project'] = $ex->getMessage(); } try{ $repo = \GIT\Git::open(\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEPATH).\SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL)); $result['git_system'] .= '
  • '; $result['git_system'] = ''.$repo->run('rev-parse --short HEAD').'
    '; $result['git_system'] .= $repo->run('log -1 --pretty=%B'); } catch (\Exception $ex) { $result['git_system'] = $ex->getMessage(); } return $result; } /** * Generate
  • Menu for the Saimod * * @return string Returns
  • Menu for the Saimod */ public static function html_li_menu(){return '