public function main()
 {
     $arrDisplay = array('status' => 'OK', 'application' => $this->objConfig->getProperty("app_name"), 'application_version' => AppVersionHelper::getFullVersion(), 'framework' => $this->objConfig->getProperty("fw_name"), 'framework_version' => FrameworkVersionHelper::getFullVersion());
     $this->outputJson($arrDisplay);
 }
示例#2
0
 /**
  * Create css path
  * @static
  * @param string $strFileLocation
  * @param bool $boolForceCacheRefresh
  * @return string
  */
 public static function createCssPath($strFileLocation, $boolForceCacheRefresh)
 {
     $objConfig = YarblesLocator::getConfig();
     return $objConfig->getProperty("css_path") . "/" . $strFileLocation . ($boolForceCacheRefresh ? "?" . AppVersionHelper::getVersionHash() : "");
 }