From f64d3a13f628706bc2f24f420f1e096543bad377 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Dec 2013 17:12:08 -0500 Subject: Wsat documentation in QuickStart tutorial at 35%! --- framework/Wsat/TWsatService.php | 2 +- framework/Wsat/pages/TWsatLogin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/Wsat/TWsatService.php b/framework/Wsat/TWsatService.php index 1f5ebe40..63bfebc7 100644 --- a/framework/Wsat/TWsatService.php +++ b/framework/Wsat/TWsatService.php @@ -62,7 +62,7 @@ class TWsatService extends TPageService $themeManager = new TThemeManager; $themeManager->BasePath = "System.Wsat.themes"; $url = Prado::getApplication()->getAssetManager()->publishFilePath(Prado::getPathOfNamespace('System.Wsat')); - $themeManager->BaseUrl = $url . "/themes"; + $themeManager->BaseUrl = "$url/themes"; $themeManager->init(null); $this->setThemeManager($themeManager); diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php index 7f0927b6..21994c07 100644 --- a/framework/Wsat/pages/TWsatLogin.php +++ b/framework/Wsat/pages/TWsatLogin.php @@ -25,7 +25,7 @@ class TWsatLogin extends TPage public function validatePassword($sender, $param) { - $config_pass = $this->getService()->getPassword(); + $config_pass = $this->Service->Password; $user_pass = $this->password->Text; $param->IsValid = $user_pass === $config_pass; } -- cgit v1.2.3