summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
authorwei <>2006-01-31 00:49:48 +0000
committerwei <>2006-01-31 00:49:48 +0000
commite326bab1cc979cadb01ef3e3c213838e046a42d7 (patch)
tree4062b368b0d30f94efd0b0c4e1fe7c3264374c7e /demos/quickstart/protected
parent01bc363ac789cfb9d644ce82a949da5cd7e1c220 (diff)
make I18n demo work with PHP 5.0.4
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
index 9f4c7c4e..6966a4cd 100644
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
@@ -10,7 +10,7 @@ class Home extends TPage
parent::__construct();
$lang = $this->Request['lang'];
if(CultureInfo::validCulture($lang)) //only valid lang is permitted
- $this->Application->Globalization->Culture = $lang;
+ $this->getApplication()->getGlobalization()->setCulture($lang);
}
/**