aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/DownloadController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r--h-source/Application/Controllers/DownloadController.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php
index d44d343..d58ba6c 100644
--- a/h-source/Application/Controllers/DownloadController.php
+++ b/h-source/Application/Controllers/DownloadController.php
@@ -145,6 +145,11 @@ class DownloadController extends BaseController
$xml .= "\t\t<it_works>".$row['hardware']['ethernet_card_works']."</it_works>\n";
}
+ if ($type === 'sd-card-reader')
+ {
+ $xml .= "\t\t<it_works>".$row['hardware']['sd_card_works']."</it_works>\n";
+ }
+
if ($type !== "notebook")
{
$xml .= "\t\t<driver>".$row['hardware']['driver']."</driver>\n";
@@ -240,4 +245,9 @@ class DownloadController extends BaseController
{
$this->printXml($lang, array('type'=>'ethernet-card','-deleted'=>'no'));
}
+
+ public function sdcardreaders($lang = 'en')
+ {
+ $this->printXml($lang, array('type'=>'sd-card-reader','-deleted'=>'no'));
+ }
} \ No newline at end of file