diff -Nur -x '*.orig' -x '*.rej' smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp --- smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 2006-09-28 22:08:37.000000000 -0500 +++ mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 1969-12-31 18:00:00.000000000 -0600 @@ -1,24 +0,0 @@ -// 999mimp -{ -my $Mimp = $mimp{'status'} || "#Mimp login is currently not enabled. To enable - config set mimp service status enabled"; return "" - unless ($Mimp eq "enabled"); -$OUT = '$conf[\'auth\'][\'params\'][\'drivers\'] = array( - \'imp\' => array(\'driver\' => \'application\', - \'params\' => array(\'app\' => \'imp\')), - \'mimp\' => array(\'driver\' => \'application\', - \'params\' => array(\'app\' => \'mimp\'))); -$conf[\'auth\'][\'params\'][\'loginscreen_switch\'] = \'_horde_select_loginscreen\'; - -if (!function_exists(\'_horde_select_loginscreen\')) \{ - function _horde_select_loginscreen() - \{ - require_once \'Horde/Browser.php\'; - $browser = &new Browser(); - if ($browser->isMobile()) \{ - return \'mimp\'; - \} - return \'imp\'; - \} -\}' -} - diff -Nur -x '*.orig' -x '*.rej' smeserver-mimp-1.0/root/etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/120Authentication mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/120Authentication --- smeserver-mimp-1.0/root/etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/120Authentication 2006-09-28 22:02:56.000000000 -0500 +++ mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/120Authentication 1969-12-31 18:00:00.000000000 -0600 @@ -1,9 +0,0 @@ -// 120Authentication -$conf['auth']['admins'] = array(); -$conf['auth']['checkip'] = true; -{ -my $Mimp = $mimp{'status'} || 'disabled'; return "\$conf[\'auth\'][\'driver\'] = \'composite\'\;" unless ($Mimp eq "disabled"); -$OUT = '$conf[\'auth\'][\'params\'][\'app\'] = \'imp\'; -$conf[\'auth\'][\'driver\'] = \'application\';' -} - diff -Nur -x '*.orig' -x '*.rej' smeserver-mimp-1.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/config/registry.php mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/config/registry.php --- smeserver-mimp-1.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/config/registry.php 2006-09-28 22:02:56.000000000 -0500 +++ mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates.metadata/home/httpd/html/horde/config/registry.php 1969-12-31 18:00:00.000000000 -0600 @@ -1,2 +0,0 @@ -GID="www" -PERMS=0640