diff options
Diffstat (limited to 'demos/time-tracker/index.php')
| -rw-r--r-- | demos/time-tracker/index.php | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/time-tracker/index.php b/demos/time-tracker/index.php index 0f8f412a..69e6b5c5 100644 --- a/demos/time-tracker/index.php +++ b/demos/time-tracker/index.php @@ -14,6 +14,13 @@ if(!is_writable($runtimePath))  require_once($frameworkPath);
 +function h($text)
 +{
 +	$app = Prado::getApplication()->getGlobalization();
 +	$charset = $app ? $app->getCharset() : 'UTF-8';
 +	return htmlentities($text, ENT_QUOTES, $charset);
 +}
 +
  $application=new TApplication;
  $application->run();
  | 
