aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/BaseController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2013-10-14 15:51:58 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2013-10-14 15:51:58 +0000
commit6fa0219202ce4ccc5c4592e66031bb0f7f8be2b0 (patch)
treeba5fe94eb41c5dad3745156507ed3b5363ea902c /h-source/Application/Controllers/BaseController.php
parentbb4898d22c820e031d52eb71599e9e8437989eae (diff)
added DistroModel to get the list of allowed distros from the database
Diffstat (limited to 'h-source/Application/Controllers/BaseController.php')
-rw-r--r--h-source/Application/Controllers/BaseController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php
index 2355569..4644fc1 100644
--- a/h-source/Application/Controllers/BaseController.php
+++ b/h-source/Application/Controllers/BaseController.php
@@ -164,6 +164,8 @@ class BaseController extends Controller
//link to the "discover your hardware" wiki page
$data['discoverYourHardwareLink'] = $this->getModule(array('right_column','discover_your_hardware'));
+ Distributions::setAllowedList();
+
$this->append($data);
}