diff --git a/simpla/LicenseAdmin.php b/simpla/LicenseAdmin.php index ffbdd48..0d43246 100755 --- a/simpla/LicenseAdmin.php +++ b/simpla/LicenseAdmin.php @@ -37,6 +37,14 @@ public function fetch() $this->design->assign('license', $l); + if ($l->valid) { + if ($result = file_get_contents("http://license.simplacommerce.com/index.php?host=".$_SERVER['HTTP_HOST'])) + { + $tl = result; + $this->design->assign('testlicense', $tl); + } + } + return $this->design->fetch('license.tpl'); } diff --git a/simpla/design/html/license.tpl b/simpla/design/html/license.tpl index 012e684..d73f74d 100755 --- a/simpla/design/html/license.tpl +++ b/simpla/design/html/license.tpl @@ -13,6 +13,7 @@