summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Wsat/TWsatService.php2
-rw-r--r--framework/Wsat/pages/TWsatLogin.php2
2 files changed, 2 insertions, 2 deletions
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;
}