<?php
define('MOBILE_DIR', 'mobile');

SiteConfig::add_extension('MobileSiteConfigExtension');
ContentController::add_extension('MobileSiteControllerExtension');
SiteTree::add_extension('MobileSiteTreeExtension');

<?php
define('MOBILE_DIR', 'mobile');

SiteConfig::add_extension('MobileSiteConfigExtension');
ContentController::add_extension('MobileSiteControllerExtension');
Security::add_extension('MobileSiteControllerExtension');
SiteTree::add_extension('MobileSiteTreeExtension');

Add support to the Security controller
Add support to the Security controller

Fixes #27